nowfound

Life & fun · alternatives · 2026

24 alternatives to Rational numbers for Java, why not?

A while back I built a science library supporting both physical and abstract dimensions. Almost immediately I discovered working with floating point numbers suck in that space and BigDecimal isn't much better in terms of managing scale wrt margin of error across calculations, Java doesn't make this easy. Rationals are in my view much better suited for science/math in that information cannot be unintentionally lost when using them. So I made a Rational for Java, and in the process _forced_ Java to work better with science and math.

Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Rational numbers for Java, why not? launched in 2024; newer entries below may have overtaken it.

  1. 1IW

    https://www.manning.com/books/data-oriented-programming-in-j... This book is a distillation of everything I’ve learned about what effective development looks like in Java (so far!). It's about how to organize programs around data "as plain data" and the surprisingly benefits that emerge when we do. Programs that are built around the data they manage tend to be simpler, smaller, and significantly easier understand. Java has changed radically over the last several years. It has picked up all kinds of new language features which support data oriented programming (records,…

    2024 · its alternatives →

  2. 2IW

    Good math problems are hidden inside textbooks and online documents. To keep up with all the sources in the world is hard. For someone who just wants to continuously solve problems, finding and going through all the sources feels like a hassle. I wished for a website that could just dump all the math problems available in the world out there. And if I could filter the problems by topics, that would be beautiful. teachyourselfmath is a side project that was born out of this need. At its core, it is a math PDF extraction engine. The engine has some machine learning going on behind the scenes…

    2024 · teachyourselfmath.app · its alternatives →

  3. 3

    Since there is so much interest on HN in floats lately and their software implementations, I wanted to show mine. It has no use and is just for teaching me floats and C++. Give me your thoughts.

    2024 · github.com · its alternatives →

  4. 4AD

    A new calculator software cannot really bring attention (https://chachatelier.fr/chalk/) However, I wrote a full article explaining why I had to build something "new" that does not behave like usual desktop calculator softwares : TL;DR All "small" calculator softwares I know share the same design flaws. And the GUI is not the only stumbling block in their poor efficiency. Handling correctly numerical approximations - expected or not - is crucial to trust the results. It is usually not done in lightweight tools. It should. So I prove that if I could do it, OS manufacturers…

    2022 · its alternatives →

  5. 5

    Everyday Data Science. A book about using data science to solve day-to-day problems. It is a collection of stories, jokes, pictures, math, and code all designed to inspire future data professionals. We make decisions everyday, but often times we don

    2021 · andrewnc.github.io · its alternatives →

  6. 6

    Rational numbers for Javascript. Contribute to LarryBattle/Ratio.js development by creating an account on GitHub.

    2012 · github.com · its alternatives →

  7. 7IG

    I’ve always found that online calculators tend to have bad UIs, especially on mobile. Most of the calculator websites I’ve come across use outdated and inconvenient ways of inputting data, or they format the results in confusing ways. I’ve noticed that fraction calculators (especially mixed fractions) are terrible to use, even on desktop. I haven’t built one of those yet, but it’s something I’m planning to tackle soon. This is a project I’ve always wanted to work on, but I’m relatively new to this space. So far, I’ve created a collection of simple calculators focused on math and finance. I’d…

    2025 · its alternatives →

  8. 8IM

    I've been studying interval arithmetic for the past few weeks and it's a really interesting field because while there is a ton of super interesting research published over the past decades, it has never really gotten the recognition that it deserves, IMO. One reason for this is that standard interval arithmetic has really poor handling of division by intervals containing zero. If you compute 1 / [-1, 2] in regular interval arithmetic, you get either [-∞, +∞], or you have to say that the operation is undefined. Both solutions are virtually useless. The real answer of course is [-∞, -1] U…

    Apr 2026 · victorpoughon.github.io · its alternatives →

  9. 9

    Hey, maker here. After launching a daily word search game, I randomly thought of this math game while driving. Finally got around to making it and I think it turned out pretty cool. It’s a math search game that’s meant to help you practice your quick addition, subtraction, multiplication, and division skills. I’m hoping it’ll help people (even those like me who aren’t big on math) learn and increase their speeds. (There are also some settings you can enable to make the game harder) If you try it out, please let me know if you found it fun, if you have anything you’d like me to add, or if you…

    2024 · worchle.com · its alternatives →

  10. 10

    Even If You Flunked Algebra

    2015 · amazon.com · its alternatives →

  11. 11

    Hey there! I'm the brains behind the math crossword game on my site. This game is all about making math a little more fun – users just drag and drop numbers to fill in the blanks and move on to the next level if they get it right. Let me know if face any issues or have any suggestions! :)

    2024 · scientific.place · its alternatives →

  12. 12SP

    Context: I'm looking at Norman Wildberger's rational trigonometry[1], and here I was wondering how useful it is in physics. So I thought about testing it with the famous simple pendulum exercise. It's not obvious we get any FPS gain, but still I find it cool to even be able to get the same result differently. 1. https://en.wikipedia.org/wiki/Rational_trigonometry

    2016 · grondilu.github.io · its alternatives →

  13. 13

    Please let us know what you think. We would be so so grateful for feedback from the community. Thank you in advance!

    2023 · mindlygames.com · its alternatives →

  14. 14
    Calcul.io▲127

    Math playground - smart online calculator

    2024 · calcul.io · its alternatives →

  15. 15

    The core question: how did HP's scientific calculators actually work at the gate level? That rabbit hole led to building one from scratch. The architectural decision everything else follows from: a decimal calculator should store numbers as BCD — one decimal digit per 4-bit nibble. A standard byte-oriented CPU (Z80, 6502) fights that layout constantly. So I designed a small custom CPU in Verilog where 4 bits is the natural data width and memory is nibble addressable. What the project covers: - Custom CPU: Harvard architecture, 12-bit ISA, 8-state execution FSM, hardware stack guard with a…

    May 2026 · github.com · its alternatives →

  16. 16

    Bitwise operations and conversions to hexadecimals

    2016 · flippybitandtheattackofthehexadecimalsfrombase16.com · its alternatives →

  17. 17

    Hi HN! I had a math idea whose thread I've been pulling on, and ended up creating this concept of Space Numbers. To read about it, see the pdf at the linked repo: https://github.com/abidsikder/space-numbers I'd appreciate feedback and ideas about the concepts, as well as further mathematical topics to take a look at that might be related, thank you all!!

    2024 · github.com · its alternatives →

  18. 18

    I've been playing with this for quite some time and I think it's finally ready for public consumption. All feedback welcome.

    2025 · madmonk13.github.io · its alternatives →

  19. 19

    Learn math with the help of your passion!

    2016 · play.google.com · its alternatives →

  20. 20

    Are you genius at Math?

    2016 · play.google.com · its alternatives →

  21. 21

    Where engineering and mathematics meet

    2016 · amazon.com · its alternatives →

  22. 22

    Stephen Wolfram's new book on the Wolfram Language

    2015 · wolfram.com · its alternatives →

  23. 23

    Credit goes to the contributors of https://github.com/enjeck/num2math for making the tool's core.

    2024 · scientific.place · its alternatives →

  24. 24

    A math books collection from stackexchange

    2017 · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →