+ 11

Java Math

Is Java Math actually perfect? Or are there other programming languages with better math? as in, like judging factors such as the accuracy of answer,etc.

2nd May 2017, 2:15 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
3 Answers
+ 1
One thing the Java standard library doesn't do is units. As in, when you divide a distance by a duration you get a velocity. It doesn't do calculus like derivatives or reversing functions. There are no classes for the algebraic structures like polynomials or vector spaces. And that is not even the "special" things. There may be libraries to do all those things; Scala Squants and Spire might work from Java. You might not be needing most of that (although you can never go wrong with typing your units, lest you loose Mars lander). But no, nothing in the world perfect and so that is true for the Java standard library.
2nd May 2017, 3:45 AM
1of3
1of3 - avatar
+ 8
K thanks
3rd May 2017, 5:59 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
MATLAB and R is good for math
2nd May 2017, 2:19 AM
Mayur Chaudhari
Mayur Chaudhari - avatar