Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Xiaomi MiMo v2.6(xiaomi.com)
    292comments
  2. Spymarks, Not Watermarks(brand.io)
    33comments
  3. Claude Status – Elevated errors for multiple models(claude.com)
    44comments
  4. I don't want to read what you didn't write(colinbreck.com)
    111comments
  5. Transformers Explained Visually(poloclub.github.io)
    38comments
  6. What Sun got wrong(dtrace.org)
    300comments
  7. Attention is all you have(alicegg.tech)
    180comments
  8. NASA’s Mars Sample Return mission is dead(science.org)
    253comments
  9. AI coding has made CI a bottleneck, so we reworked ours to keep up(linear.app)
    152comments
  10. Looking forward to Git 2.56 – and 3.0(lwn.net)
    7comments
  11. Divide by depth for instant 3D(gabrieloc.com)
    9comments
  12. The Advisory Group on Mathematics and Artificial Intelligence(terrytao.wordpress.com)
    43comments
  13. Robin Williams' Daughter to Fans Creating AI Videos: 'Have Some Shame'(variety.com)
    3comments
  14. Paper Models of Polyhedra(polyhedra.net)
    discuss
  15. More Floating Point Alternatives(wizardzines.com)
    7comments
  16. How do traffic signals work? (2019)(practical.engineering)
    47comments
  17. Socrates vs. the Written Word (2011)(wondermark.com)
    discuss
  18. Why does mathmain need an encrypted loader?(safedep.io)
    33comments
  19. Frontier AI on Your Own Hardware(timdettmers.com)
    56comments
  20. First Shader from Zero in Godot 4(gdquest.com)
    4comments
  21. Grok 4.7(x.ai)
    423comments
  22. Turn off and restrict access to Apple Intelligence features on Mac(support.apple.com)
    167comments
  23. Kev: Tiny Jev-like family of decision models built on top of Qwen3.5(github.com/jaredpalmer)
    185comments
  24. Apple Copland D11E4 Booting in the Browser(pagetable.com)
    31comments
  25. Python Workers are now generally available(cloudflare.com)
    32comments
  26. HERMES radio enables voice and data communication over vast distances(ieee.org)
    42comments
  27. TXR: An Original, New Programming Language for Convenient Data Munging(nongnu.org)
    3comments
  28. Roboharm: Do frontier robot policies refuse unsafe instructions?(robocurve.org)
    20comments
  29. US halts flights at busy East Coast airports, says fiber line cut(reuters.com)
    116comments
  30. Fable 5 – Median thinking declined in August(twitter.com/lon)
    250comments

More Floating Point Alternatives

10 pointsby 2d agowizardzines.com
7 comments
2d agoHN ↗

Strange the most obvious - fixed point numbers is not mentioned.

25m agoHN ↗

Usually, if you know enough about your algorithms to select an appropriate float alternative, you also know enough to fix your float code and that's what you should actually do.

That said, some of these aren't alternatives. Symbolic computation is a different thing entirely. Interval arithmetic can be built atop floats (e.g. IEEE-1788) and has its own zoo of unintuitive behaviors. BCD is better called a historical artifact than an alternative these days.

It's really just rationals and decimal floats in this list, which probably don't solve the issues you have if you're considering float alternatives.

19m agoHN ↗

Worth mentioning is storing the logarithm of the number.

Seen it used in a couple places. Logarithmic depth buffer is one. Yamaha DX7 is another.

8m agoHN ↗

That's kind of exactly what floats are. You store the log2 of the number, a bit for its sign, and in what remaining bits you have left some fixed-point scaling between adjacent powers.