Skip to content

Commit

Permalink
Revert "Add the golden ratio φ (#40)"
Browse files Browse the repository at this point in the history
This reverts commit 8bbebc7.
  • Loading branch information
sharkdp committed Jul 6, 2021
1 parent 8bbebc7 commit 8ee17b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/Data/Quantity/Math.purs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ module Data.Quantity.Math
, pi
, e
, tau
, phi
) where

import Prelude
Expand Down Expand Up @@ -150,6 +149,3 @@ e = scalar' Decimal.e

tau Quantity
tau = scalar' $ Decimal.fromNumber 2.0 * Decimal.pi

phi Quantity
phi = (1.0 + (5.0 .^ 0.5)) ./ (2.0)
2 changes: 1 addition & 1 deletion src/Quantities.purs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import Data.Quantity (ConversionError(..), Quantity, abs, approximatelyEqual, as
sqrt, toScalar, toScalar', toStandard, (.*), (⊕), (⊖), (⊗), (⊘)) as DQ
import Data.Quantity.Math (acos, acosh, asin, asinh, atan, atan2, atanh, ceil, cos, cosh, e,
exp, factorial, floor, gamma, ln, log10, max, max2, mean, min,
min2, modulo, pi, round, sin, sinh, tan, tanh, tau, phi) as DQM
min2, modulo, pi, round, sin, sinh, tan, tanh, tau) as DQM
import Data.Quantity.Physics (avogadroConstant, electronCharge, electronMass, g0,
gravitationalConstant, kB, planckConstant, protonMass,
idealGasConstant, speedOfLight, µ0, µB, α, ε0, ℏ) as DQP
Expand Down

0 comments on commit 8ee17b7

Please sign in to comment.