davjam / HaskellNumericsTestsFixes

Tests, fixes and illustrations for Haskell floating point (real & complex) functions. The intention is to integrate the fixes back into core Haskell.
0 stars 0 forks source link

pi :: Float > pi (maths) #6

Open davjam opened 2 years ago

davjam commented 2 years ago

Hence e.g. imagPart $ uncurry mkPolar $ polar $ (-5) :+ 0 :: Float has wrong sign. (ditto -0 -> +ve).

redefine pi::Float?