30 Aug
2005
30 Aug
'05
2:29 a.m.
I have looked around the net, and in some reference books and I cannot find a function to convert a Float to a Double directly. Can there truly be no such animal in the Prelude/standard libs? -mdg
30 Aug
30 Aug
2:38 a.m.
On Mon, 2005-08-29 at 16:59 -0400, Mark Goldman wrote:
I have looked around the net, and in some reference books and I cannot find a function to convert a Float to a Double directly. Can there truly be no such animal in the Prelude/standard libs?
In the Prelude there is realToFrac :: (Fractional b, Real a) => a -> b and (Float -> Double) is an instance of this type. Duncan
7445
Age (days ago)
7445
Last active (days ago)
1 comments
2 participants
participants (2)
-
Duncan Coutts -
Mark Goldman