Manikanta Inugurthimanicodes.hashnode.dev·Apr 9, 2024Demystifying Floating Point Numbers: How Computers Store and Handle ThemLast week when I was having lunch, I suddenly thought of how floating point numbers are stored in binary representation. Even though I've been programming for a while, I couldn't remember and took this for granted. Let's dive into this basic idea tog...binary
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 ...27 readsfloating point arithmetic
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 31, 2023Know your floats better!In C, the primary floating point types are float, double, and long double. The range and number of bits for these types can vary depending on the system and compiler, but they generally adhere to the IEEE 754 standard for floating-point arithmetic. H...long double
Vikram Jayanthvr63.hashnode.dev·Oct 4, 2023Exploring Inaccuracies in Computer ArithmeticINTRODUCTION When I started to learn programming everything seemed to be simple and easy except for floating-point arithmetic. Yeah, you may argue with me that floating-point numbers are just numbers with decimal places like 1.1 and why would someone...12 likes·81 readsIEEE 754
Luís Marquesluismarques.hashnode.dev·Jan 3, 2023Why 0.1 + 0.2 != 0.3 in JavaScript (And How to Fix It)The IEEE 754 Standard IEEE 754 is a standard for representing floating point numbers in computers. It is widely used in programming languages, including JavaScript, to represent decimal values with a finite precision. One disadvantage with using floa...2.5K readsJavaScript