
29 Aug
2005
29 Aug
'05
4:59 p.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

29 Aug
29 Aug
5:08 p.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
7205
Age (days ago)
7205
Last active (days ago)
1 comments
2 participants
participants (2)
-
Duncan Coutts
-
Mark Goldman