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...Discussbinary
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 ...Discussfloating point arithmetic
Phakorn KiongProblog.phakorn.com·Jan 7, 2024JSON's Numeric Boundaries: The Lesser-Known Reality of Inaccurate FiguresIntroductions JSON (JavaScript Object Notation) has become a cornerstone in the world of data exchange, particularly in web applications. Its appeal lies in its simplicity and readability, making it the preferred choice for developers worldwide. Howe...Discuss·1.3K readsjson
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 15, 2023Types in CIn C, types are categorized into several basic categories: integer types, floating-point types, and other types such as void and pointer types. Here's an overview of the types in C, along with sample code snippets and the typical range of values they...Discuss·137 readsC Programmingc types
Raineraineyang.hashnode.dev·Dec 4, 2023Learning Note: Floating-Point Numbers and Round-off ErrorThis article is a summary of Chapter 3 of: Yazawa, H. (2015). 程序是怎么跑起来的[How Program Works] (L. Fengjun, Trans.). People's Posts and Telecommunications Press Representing Fractions with Binary The convertion between binary and decimal for fraction num...DiscussEXCESS
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...Discuss·11 likes·72 readsIEEE 754
Abou Zuhayrblog.zuhayr.codes·Jul 31, 2023Floating-Point FolliesGreetings, code wranglers and binary whisperers! Today, we're diving headfirst into the wacky world of floating-point numbers. You know, those pesky decimals that make your computer seem like it flunked out of kindergarten math. Buckle up, because th...Discuss·10 likes·44 readsJava
Rishabh Singhrishabhsinghcodes.hashnode.dev·Apr 9, 2023Why 0.1+0.2 !== 0.3 in JavaScript?Is JS incapable of solving these simple math problems? 🧐 Understanding the problem All the number systems like decimal, binary, hexadecimal etc. have some limitations or edge cases. E.g.: The number of 3's after the decimal point in 1/3 is more than...Discuss·2 likes·505 readsJavaScript
Aayush SInhaaayushsinha.hashnode.dev·Mar 20, 2023What you didn't know about Float?Although floats are typically a reliable representation of real numbers, there are instances when they fall short, resulting in unexpected outcomes. While they usually provide a satisfactory approximation, it's important to note that they are not inf...Discuss·92 readsThe Pythonic WayPython 3
MiguelMJblog.miguelmj.dev·Mar 9, 2023When numbers don't make senseIntroduction Most of the time, basic arithmetic is pretty simple and intuitive. Even working with powers and roots isn't that much of a headache. However, the IEEE standard for floating-point numbers includes special values that can mess things up: N...Discuss·10 likes·83 readsMathematics