Skip to content

Commit

Permalink
Don't export e for Euler's number; call it euler instead
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Oct 4, 2024
1 parent d3ab836 commit fb81f47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/core/hypotenuse-core.scala
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,7 @@ def erf(value: Double): Double =

final val π = math.Pi
final val pi = math.Pi
final val e = math.E
final val eulerNumber = math.E
final val euler = math.E
final val φ = (1.0 + 5.sqrt)/2.0
final val goldenRatio = φ

Expand Down
2 changes: 1 addition & 1 deletion src/core/soundness+hypotenuse-core.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export hypotenuse.{CheckOverflow, Commensurable, DivisionByZero,
DivisionError, Orderable, OverflowError, B8, B16, B32, B64, S8, S16, S32, S64, U8, U16,
U32, U64, F32, F64, abs, sqrt, cbrt, ceiling, floor, exponent, increment, decrement, round, scalb, signum, ulp,
bits, rawBits, finite, infinite, nan, **, mantissa, long, int, short, octal, hex, base32, binary, %%,
\, apply, erf, π, pi, e, eulerNumber, φ, goldenRatio, cos, acos, cosh, sin, asin, sinh, tan, atan, hyp, exp,
\, apply, erf, π, pi, euler, φ, goldenRatio, cos, acos, cosh, sin, asin, sinh, tan, atan, hyp, exp,
expm1, ln, log10, log1p, <, <=, >, >=}

package arithmeticOptions:
Expand Down

0 comments on commit fb81f47

Please sign in to comment.