home.social

#floatingpoint — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #floatingpoint, aggregated by home.social.

fetched live
  1. As an author, you sometimes rework an explanation several times before it feels right. That happened to me with a section on how mathematical operators and functions are implemented in Java, which I needed for my current book on the Java Vector API. I have published the section here in case others find it useful: tutego.de/blog/javainsel/2026/
    #java #compiler #floatingpoint #technicalwriting

  2. As an author, you sometimes rework an explanation several times before it feels right. That happened to me with a section on how mathematical operators and functions are implemented in Java, which I needed for my current book on the Java Vector API. I have published the section here in case others find it useful: tutego.de/blog/javainsel/2026/
    #java #compiler #floatingpoint #technicalwriting

  3. Same theme as "checking" floating-point options: a clean-up and better commented version of "override all the options I can" in a header.

    github.com/Marc-B-Reynolds/fp_

    example: godbolt.org/z/cM8M3Tjzc

    #floatingpoint #optimization

  4. Same theme as "checking" floating-point options: a clean-up and better commented version of "override all the options I can" in a header.

    github.com/Marc-B-Reynolds/fp_

    example: godbolt.org/z/cM8M3Tjzc

    #floatingpoint #optimization

  5. Somewhat inspired by @erin_catto releasing Box3D I've tossed together a header for attempting to detect "hostile" floating point compiler options.

    The idea is an attempt (with minimal friction) to spot problems including peeps that grab and compile the code.

    first/rough pass header:
    gist.github.com/Marc-B-Reynold

    godbolt example:
    godbolt.org/z/b5aPW71Gd

    #floatingpoint #optimization

  6. Somewhat inspired by @erin_catto releasing Box3D I've tossed together a header for attempting to detect "hostile" floating point compiler options.

    The idea is an attempt (with minimal friction) to spot problems including peeps that grab and compile the code.

    first/rough pass header:
    gist.github.com/Marc-B-Reynold

    godbolt example:
    godbolt.org/z/b5aPW71Gd

    #floatingpoint #optimization

  7. Alright, future engineers!
    **Round-off Error:** Error from storing exact numbers with limited precision in computers.
    Ex: 1/3 stored as 0.33333.
    Pro-Tip: Use double precision & re-order ops to minimize accumulation in long calculations!
    #NumericalAccuracy #FloatingPoint #STEM #StudyNotes

  8. “In 1980, #Intel released the #Intel8087 #FloatingPoint coprocessor, a chip that could make math up to 100 times faster. As well as arithmetic and square roots, the 8087 computed #transcendental functions including #tangent, #exponentiation, and #logarithms.

    But it all depended on a 69-bit adder: "The arithmetic heart of the floating-point execution unit is centered about a #nanomachine comprised of the adder and its related #registers, #shifters and control circuitry," as the patent describes it”

    #Silicon / #EE / #Computing <righto.com/2026/06/intel-8087->

  9. “In 1980, #Intel released the #Intel8087 #FloatingPoint coprocessor, a chip that could make math up to 100 times faster. As well as arithmetic and square roots, the 8087 computed #transcendental functions including #tangent, #exponentiation, and #logarithms.

    But it all depended on a 69-bit adder: "The arithmetic heart of the floating-point execution unit is centered about a #nanomachine comprised of the adder and its related #registers, #shifters and control circuitry," as the patent describes it”

    #Silicon / #EE / #Computing <righto.com/2026/06/intel-8087->

  10. 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! 🤓
    danielmangum.com/posts/floatin #microcontrollers #floatingpoint #techhumor #confusion #HackerNews #ngated

  11. 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! 🤓
    danielmangum.com/posts/floatin #microcontrollers #floatingpoint #techhumor #confusion #HackerNews #ngated

  12. 🚀✨ 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. 💻🧠
    vickiboykis.com/2026/02/21/que #HackerNews #VickiBoykis #treasureHunt #techJourney #floatingPoint #HackerNews #ngated

  13. 🚀✨ 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. 💻🧠
    vickiboykis.com/2026/02/21/que #HackerNews #VickiBoykis #treasureHunt #techJourney #floatingPoint #HackerNews #ngated

  14. 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

    youtube.com/watch?v=C53FQIhge3U

  15. 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

    youtube.com/watch?v=C53FQIhge3U

  16. 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.

    rodstephensbooks.com/many_digi

    #Python #FloatingPoint #Decimal #Precision

  17. 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.

    rodstephensbooks.com/many_digi

    #Python #FloatingPoint #Decimal #Precision

  18. Проектирование FPU блока, работающего на частоте 7 ГГц

    Данный проект представляет собой современный вычислительный блок, предназначенный для обработки научных и графических данных на сверхвысокой частоте 7 ГГц . Архитектура построена на базе 128-битных векторов и 5-стадийного конвейера.

    habr.com/ru/articles/993270/

    #floatingpoint #floating_point

  19. Il faudrait un diplôme avant d'autoriser l'utilisation des nombres à virgule flottante.

    #floatingpoint #ieee754

  20. @linuxgal

    Note that this isn't Python-specific behaviour. This is required by the IEEE-754 floating-point standard, which Python (and most other runtimes) conform to.

    NaN, Inf, -Inf, comparison rules, exceptions ... it's all in there.

    #Python #IEEE754 #FloatingPoint #math #standard