#floatingpoint — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #floatingpoint, aggregated by home.social.
-
Fc, a lossless compressor for floating-point streams
https://github.com/xtellect/fc
#HackerNews #losslesscompression #floatingpoint #streams #dataengineering #softwaredevelopment
-
An excellent introduction to #quantization used for #LLMs 👌🏽:
“Quantization From The Ground Up”, Sam Rose, Ngrok (https://ngrok.com/blog/quantization).
On HN: https://news.ycombinator.com/item?id=47519295
#AI #Math #FloatingPoint #NumericalAnalysis #Numbers #NeuralNetworks #Precision #Accuracy
-
An excellent introduction to #quantization used for #LLMs 👌🏽:
“Quantization From The Ground Up”, Sam Rose, Ngrok (https://ngrok.com/blog/quantization).
On HN: https://news.ycombinator.com/item?id=47519295
#AI #Math #FloatingPoint #NumericalAnalysis #Numbers #NeuralNetworks #Precision #Accuracy
-
An excellent introduction to #quantization used for #LLMs 👌🏽:
“Quantization From The Ground Up”, Sam Rose, Ngrok (https://ngrok.com/blog/quantization).
On HN: https://news.ycombinator.com/item?id=47519295
#AI #Math #FloatingPoint #NumericalAnalysis #Numbers #NeuralNetworks #Precision #Accuracy
-
An excellent introduction to #quantization used for #LLMs 👌🏽:
“Quantization From The Ground Up”, Sam Rose, Ngrok (https://ngrok.com/blog/quantization).
On HN: https://news.ycombinator.com/item?id=47519295
#AI #Math #FloatingPoint #NumericalAnalysis #Numbers #NeuralNetworks #Precision #Accuracy
-
🧐:
“It’s OK To Compare Floating-Points For Equality”, Nikita Lisitsa (https://lisyarus.github.io/blog/posts/its-ok-to-compare-floating-points-for-equality.html).
Via HN: https://news.ycombinator.com/item?id=47767398
On Lobsters: https://lobste.rs/s/l6c9wi/it_s_ok_compare_floating_points_for
#Math #Programming #FloatingPoint #NumericalAnalysis #Precision #Errors #Numerics
-
🧐:
“It’s OK To Compare Floating-Points For Equality”, Nikita Lisitsa (https://lisyarus.github.io/blog/posts/its-ok-to-compare-floating-points-for-equality.html).
Via HN: https://news.ycombinator.com/item?id=47767398
On Lobsters: https://lobste.rs/s/l6c9wi/it_s_ok_compare_floating_points_for
#Math #Programming #FloatingPoint #NumericalAnalysis #Precision #Errors #Numerics
-
🧐:
“It’s OK To Compare Floating-Points For Equality”, Nikita Lisitsa (https://lisyarus.github.io/blog/posts/its-ok-to-compare-floating-points-for-equality.html).
Via HN: https://news.ycombinator.com/item?id=47767398
On Lobsters: https://lobste.rs/s/l6c9wi/it_s_ok_compare_floating_points_for
#Math #Programming #FloatingPoint #NumericalAnalysis #Precision #Errors #Numerics
-
🧐:
“It’s OK To Compare Floating-Points For Equality”, Nikita Lisitsa (https://lisyarus.github.io/blog/posts/its-ok-to-compare-floating-points-for-equality.html).
Via HN: https://news.ycombinator.com/item?id=47767398
On Lobsters: https://lobste.rs/s/l6c9wi/it_s_ok_compare_floating_points_for
#Math #Programming #FloatingPoint #NumericalAnalysis #Precision #Errors #Numerics
-
Ah yes, another riveting tale of microcontrollers—because who doesn't love a deep dive into floating point #arithmetic on a #hobbyist chip? 🙄 Spoiler: if you enjoy endless links leading to nowhere and cryptic jargon, this post is your Disneyland. 🎢 Go ahead, embrace the thrill of being hopelessly confused! 🤓
https://danielmangum.com/posts/floating-point-cortex-m/ #microcontrollers #floatingpoint #techhumor #confusion #HackerNews #ngated -
Ah yes, another riveting tale of microcontrollers—because who doesn't love a deep dive into floating point #arithmetic on a #hobbyist chip? 🙄 Spoiler: if you enjoy endless links leading to nowhere and cryptic jargon, this post is your Disneyland. 🎢 Go ahead, embrace the thrill of being hopelessly confused! 🤓
https://danielmangum.com/posts/floating-point-cortex-m/ #microcontrollers #floatingpoint #techhumor #confusion #HackerNews #ngated -
Ah yes, another riveting tale of microcontrollers—because who doesn't love a deep dive into floating point #arithmetic on a #hobbyist chip? 🙄 Spoiler: if you enjoy endless links leading to nowhere and cryptic jargon, this post is your Disneyland. 🎢 Go ahead, embrace the thrill of being hopelessly confused! 🤓
https://danielmangum.com/posts/floating-point-cortex-m/ #microcontrollers #floatingpoint #techhumor #confusion #HackerNews #ngated -
Ah yes, another riveting tale of microcontrollers—because who doesn't love a deep dive into floating point #arithmetic on a #hobbyist chip? 🙄 Spoiler: if you enjoy endless links leading to nowhere and cryptic jargon, this post is your Disneyland. 🎢 Go ahead, embrace the thrill of being hopelessly confused! 🤓
https://danielmangum.com/posts/floating-point-cortex-m/ #microcontrollers #floatingpoint #techhumor #confusion #HackerNews #ngated -
Ah yes, another riveting tale of microcontrollers—because who doesn't love a deep dive into floating point #arithmetic on a #hobbyist chip? 🙄 Spoiler: if you enjoy endless links leading to nowhere and cryptic jargon, this post is your Disneyland. 🎢 Go ahead, embrace the thrill of being hopelessly confused! 🤓
https://danielmangum.com/posts/floating-point-cortex-m/ #microcontrollers #floatingpoint #techhumor #confusion #HackerNews #ngated -
Herbie: Automatically improve imprecise floating point formulas
https://herbie.uwplse.org/doc/latest/tutorial.html
#HackerNews #Herbie #FloatingPoint #Improvement #Precision #Algorithms #Tutorial
-
🚀✨ Behold, the thrilling tale of querying 3 billion vectors—a journey where Vicki Boykis heroically attempts to decode Jeff Dean's cryptic wisdom on #mapreduce. Spoiler: It's basically a nerdy treasure hunt for semantically similar items, but with more floating-point numbers than your brain can handle. 💻🧠
https://vickiboykis.com/2026/02/21/querying-3-billion-vectors/ #HackerNews #VickiBoykis #treasureHunt #techJourney #floatingPoint #HackerNews #ngated -
0.1 + 0.2 In SQL = 0.30000000000000004?!
SQL floating point precision is broken! Adding 0.1 + 0.2 creates a number with precision errors. This breaks financial calculations! Watch!
#sql #sqltricks #database #sqltutorial #floatingpoint #precision #sqlquiz #codingchallenge #sqlshorts #sqlbugs #numericprecision #sqlwtf
-
Another excellent post 👌🏽 from Russ Cox 👇🏽🫡:
“Floating-Point Printing And Parsing Can Be Simple And Fast” (https://research.swtch.com/fp).
On HN: https://news.ycombinator.com/item?id=46685317
On Lobsters: https://lobste.rs/s/nbsclr/floating_point_printing_parsing_can_be
#Programming #Math #FloatingPoint #Numbers #PLDI #Parsing #Printing
-
Another excellent post 👌🏽 from Russ Cox 👇🏽🫡:
“Floating-Point Printing And Parsing Can Be Simple And Fast” (https://research.swtch.com/fp).
On HN: https://news.ycombinator.com/item?id=46685317
On Lobsters: https://lobste.rs/s/nbsclr/floating_point_printing_parsing_can_be
#Programming #Math #FloatingPoint #Numbers #PLDI #Parsing #Printing
-
Another excellent post 👌🏽 from Russ Cox 👇🏽🫡:
“Floating-Point Printing And Parsing Can Be Simple And Fast” (https://research.swtch.com/fp).
On HN: https://news.ycombinator.com/item?id=46685317
On Lobsters: https://lobste.rs/s/nbsclr/floating_point_printing_parsing_can_be
#Programming #Math #FloatingPoint #Numbers #PLDI #Parsing #Printing
-
Another excellent post 👌🏽 from Russ Cox 👇🏽🫡:
“Floating-Point Printing And Parsing Can Be Simple And Fast” (https://research.swtch.com/fp).
On HN: https://news.ycombinator.com/item?id=46685317
On Lobsters: https://lobste.rs/s/nbsclr/floating_point_printing_parsing_can_be
#Programming #Math #FloatingPoint #Numbers #PLDI #Parsing #Printing
-
Learn about numeric data types (and the number 998,001) in Python
The value 1 / 998,001 has an interesting property, but to see it in Python you need to learn about numeric data types.
-
Conditions in the Intel 8087 floating-point chip's microcode
https://www.righto.com/2025/12/8087-microcode-conditions.html
#HackerNews #Intel8087 #FloatingPoint #Microcode #Technology #History #ComputerArchitecture
-
Conditions in the Intel 8087 floating-point chip's microcode
https://www.righto.com/2025/12/8087-microcode-conditions.html
#HackerNews #Intel8087 #FloatingPoint #Microcode #Technology #History #ComputerArchitecture
-
Conditions in the Intel 8087 floating-point chip's microcode
https://www.righto.com/2025/12/8087-microcode-conditions.html
#HackerNews #Intel8087 #FloatingPoint #Microcode #Technology #History #ComputerArchitecture
-
Conditions in the Intel 8087 floating-point chip's microcode
https://www.righto.com/2025/12/8087-microcode-conditions.html
#HackerNews #Intel8087 #FloatingPoint #Microcode #Technology #History #ComputerArchitecture
-
Conditions in the Intel 8087 floating-point chip's microcode
https://www.righto.com/2025/12/8087-microcode-conditions.html
#HackerNews #Intel8087 #FloatingPoint #Microcode #Technology #History #ComputerArchitecture
-
0.1 + 0.2 = 0.30000000000000004?!
JavaScript math is broken! Adding 0.1 + 0.2 creates a number that will shock you. This is why financial apps fail! Watch the chaos!
#javascript #javascripttricks #codingtips #programmingtutorial #floatingpoint #javascriptquiz #codingchallenge #javascriptshorts #javascriptbugs #mathprecision #javascriptwtf #numberprecision
-
Posit floating point numbers: thin triangles and other tricks (2019)
http://marc-b-reynolds.github.io/math/2019/02/06/Posit1.html
#HackerNews #PositNumbers #FloatingPoint #Mathematics #Triangles #TechTricks #HackerNews
-
Using Integer Addition to Approximate Float Multiplication - Once the domain of esoteric scientific and business computing, floating point calc... - https://hackaday.com/2025/04/10/using-integer-addition-to-approximate-float-multiplication/ #softwaredevelopment #softwarehacks #floatingpoint #fpu #gpu
-
Using Integer Addition to Approximate Float Multiplication https://hackaday.com/2025/04/10/using-integer-addition-to-approximate-float-multiplication/ #SoftwareDevelopment #SoftwareHacks #floatingpoint #FPU #gpu
-
Irregular reminder: floating point calculations are not exact.
Take your program to a different #hardware and your tests may start failing:
https://codeberg.org/libobscura/libobscura/src/branch/master/crates/conv/tests/convtest.rs#L40
https://codeberg.org/libobscura/libobscura/actions/runs/30#jobstep-7-431
-
I am excited to read about numpy_quaddtype, a project to include quad precision in numpy. The standard precision in numpy (and most other places) is double precision: numbers are stored in 64 bits and the precision is about 16 decimal digits. This is usually enough but not always.
Numpy does have longdouble, which may or may not increase precision, depending on your platform, but even if it does, the increase is very modest. If I need more precision, I typically use FLINT, but that is meant for super high precision and rigorous computations. It will be very good to have another tool.
More details in this blogpost: https://labs.quansight.org/blog/numpy-quaddtype-blog
-
Малые числа, большие возможности: как плавающая запятая ускоряет ИИ и технологии
Привет, Хабр! С вами снова ServerFlow, и сегодня мы решили погрузиться в увлекательный мир чисел с плавающей запятой . Вы когда-нибудь задумывались, почему существуют разные виды этих чисел и как они влияют на производительность наших процессоров и видеокарт? Как малые числа с плавающей запятой помогают развивать нейросети и искусственный интеллект? Давайте вместе разберемся в этих вопросах, раскроем тайны стандарта IEEE 754 и узнаем, какое значение имеют большие и маленькие числа с плавающей запятой в современных вычислениях.
https://habr.com/ru/companies/serverflow/articles/846732/
#плавающая_запятая #fp32 #fp16 #INT8 #квантизация #Тензорные_ядра #fpu #floatingpoint #floating_point #ieee_754
-
Today I learned that in Python you can print a floating point number with thousands separator and no floating point part with the f-string formatter `:integer_digits,.0f`.
For instance:
```python
print(f"{1234567891*1.1:15,.0f}")
```prints ` 1,358,024,680`, while
```python
print(f"{1234567891*1.1:15,f}")
```prints `1,358,024,680.100000`.
It also properly rounds up or down numbers, which is great.
#TIL #TodayILearned #Python #FStrings #FloatingPoint #ThousandsSeparator
-
How about we make this #FloatingPointFriday? Here's a gem I posted in another thread and that I regularly use to scare my students and to demonstrate to them the dangers of #floatingPoint. Every #IEEE 754 compliant #FPU will give the same answer. It allows me to talk about the fact that radix representations of a number may be finite in one base (10) and infinite in another (2). Then I throw in the fact that floating point numbers have #finitePrecision and that #machineEpsilon is a thing.
-
@matthew_d_green I like to scare my students with the this little gem (and then I explain to them that every computer with an #IEEE 754 compliant #FPU will give you the same answer, and for a very good reason)
-
TL;DR: -fno-math-errno should always be set in C/C++ land. (unless you're using VC, then: I'm sorry)
libm is "still" burdened with language where some functions (most importantly sqrt & sqrtf) will set 'errno'. Compilers "respect" this by default. IEEE-754 won a long time ago. It's WAY past time to flip math-errno to default to off.
-
Comparison of basic 1/sqrt implementations. Short versions. Next is a version by Carlos F. Borges' which is correctly rounded except for 1 value per 2 power-of-two intervals (1 per 2 exponent values...like [1,4])
Test driver (& references to Borge) are in this gist: https://gist.github.com/Marc-B-Reynolds/9fb24a7a4ee915e6e973bf9f4d08c404
The driver also includes:
• 1/sqrt(x) - which I had forget to include.
• correctly rounded versions
• SSE rsqrt approx
• old skool quake approx (added a modernized one) -
Ein Wissenschaftler einer New Yorker Universität hat festgestellt, dass es bei einigen Python-Paketen zu Problemen mit nummerischen Berechnungen kommen kann.
Python: Compiler-Optionen können bei Gleitkommaberechnungen zu Fehlern führen