summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorDominik Gruntz <dominik.gruntz@fhnw.ch>2012-07-19 11:02:46 +0200
committerDominik Gruntz <dominik.gruntz@fhnw.ch>2012-07-19 11:19:35 +0200
commit4324282f27f2dadf90213882d3f5f346940bc0fd (patch)
treecf34d4655e11c618c6c215ecef1539ced7889344 /test/files/run
parentd9b65592df28e8c9655b52c0265f499d757617ba (diff)
downloadscala-4324282f27f2dadf90213882d3f5f346940bc0fd.tar.gz
scala-4324282f27f2dadf90213882d3f5f346940bc0fd.tar.bz2
scala-4324282f27f2dadf90213882d3f5f346940bc0fd.zip
Removes Float.Epsilon and Double.Epsilon
Float.Epsilon and Double.Epsilon contain the wrong value. Epsilon should be an upper bound on the relative error due to rounding errors in floating point arithmetic, i.e. it is 1/2 ULP (unit in the last position) which is 2^(-24) for Float and 2^(-53) for Double. This was discussed in detail in https://issues.scala-lang.org/browse/SI-3791 and it was decided to deprecate Epsilon for 2.9 and to remove it for 2.10 and to reintroduce it with the correct value for 2.11. See also the discussion (and comment from Martin) on https://groups.google.com/forum/?fromgroups#!topic/scala-internals/m763WjBdfyo
Diffstat (limited to 'test/files/run')
0 files changed, 0 insertions, 0 deletions