package math
- Alphabetic
- By Inheritance
- math
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class DoubleApproxEqual extends AnyRef
- class DoubleTolerance extends Tolerance[Double]
- implicit class FloatApproxEqual extends AnyRef
- class FloatTolerance extends Tolerance[Float]
- trait Tolerance[A] extends AnyRef
Value Members
- implicit val doubleTolerance: DoubleTolerance
- implicit val floatTolerance: FloatTolerance
- final val smallDouble: Double(2.220446049250313E-16)
Smallest positive
Double
value that fulfills1.0 + smallDouble > 1.0
and1.0 - smallDouble < 1.0
.Smallest positive
Double
value that fulfills1.0 + smallDouble > 1.0
and1.0 - smallDouble < 1.0
. (Approx.) - final val smallFloat: Float(1.1920929E-7)
Smallest positive
Float
value that fulfills1.0 + smallFloat > 1.0
and1.0 - smallFloat < 1.0
.Smallest positive
Float
value that fulfills1.0 + smallFloat > 1.0
and1.0 - smallFloat < 1.0
. (Approx.) - object Constants
An object that defines fundamental mathematical constants.
An object that defines fundamental mathematical constants.
The values of the constants are taken from Abramowitz/Stegun, pp. 2-3. They have as much digits as listed there, respectively.
Beyond, there are two useful constants for conversion from radians to degrees and vice versa.
Copyright (C) 1991, 2006, 2008, 2015 Hans-Hermann Bode
- Version
3.0
- Note
We use lowercase identifiers deliberately to reflect the usual mathematical notation and provide addtional Unicode greek-letter versions where appropriate.
- See also
M. Abramowitz and I. A. Stegun (Ed.). Handbook of Mathematical Functions. Dover Publications, New York (1964). 9th printing, 1970.