ref: 5f9f378122753a95eca9585338a050475a724d7e
parent: c99286fb6b400110099e678bd061701dec9b681f
author: Rewbert <krookr@chalmers.se>
date: Wed Sep 20 18:10:47 EDT 2023
disclaimer on the showDouble func
--- a/lib/Data/Double.hs
+++ b/lib/Data/Double.hs
@@ -61,6 +61,9 @@
geDouble :: Double -> Double -> Bool
geDouble = (>=)
+-- | this primitive will print doubles with up to 6 decimal points
+-- it turns out that doubles are extremely tricky, and just printing them is a
+-- herculean task of its own...
showDouble :: Double -> String
showDouble = primDoubleShow
--
⑨