I just found that java.lang.StrictMath
has E
and PI
which each is also available in java.lang.Math
.
Are there any differences between them?
I check the source(Math
, StrictMath
) and found they are the same values.
No, of course not. They're constants, you don't need to store them with different levels of precision.