Bhuwan Sharmabhuwan.hashnode.dev·May 22, 2024#2 Binary to decimal#include <iostream> #include <math.h> using namespace std; int main(){ //Binary to decimal: int n; cout<<"enter: "; cin>>n; int r, i=0, ans = 0; while(n!=0){ r = n/10; if((n%10)==1){ ans += pow(2, ...DiscussDSA
Atanu Sarkardisciple.hashnode.dev·Jan 8, 2024What about that point? Just let it float, duhThis piece presents an utterly complicated topic - IEEE754 Standard - in its distilled form, so it's relatively short. I've been prohibited from sharing any of the problems from my lab sessions. Apologies for that. But I've tried hard to subside the ...Discuss·27 readsfloating point arithmetic
Yusuf Bin Musayusufaine.dev·Oct 8, 2023Hello, world!So... who am I? Just another software engineer/developer who likes to write things down and share what I've learnt. I find joy in being able to talk about and share the things that I've learned so others can learn from my experience (mistakes and bre...Discussbits
Dhawal Pandyadhawalpandya01.hashnode.dev·Jun 18, 2023Understanding the 'byte' Type in GoWhen transitioning from JavaScript to Go, one encounters various differences in language syntax and data types. One such type in Go that might seem unfamiliar to JavaScript developers is the 'byte' type. It is an alias for the uint8 type. Memory Repr...Discuss·70 readsGo Language
David Yaudavidyau1.hashnode.dev·Apr 27, 2023Binary and HexidecimalSimply Binary and Hexidecimal are different numbering systems. The numbering system we use in everyday life and math is base 10. 10 due to having the digits 0-9. There no innate reason to use base 10, we probably choose it as we have 10 fingers to co...DiscussThe Basics2Articles1Week