On Thu, Aug 21, 2003 at 10:30:33PM +0200, Konrad Hinsen wrote: > I might also declare all my constants to be "Rational" and use > "fromRational", but I don't know much about the "Rational" type. Do I > have to worry about insufficient or compiler-dependent precision?
I would guess that this is the best solution. If I remember correctly floating constants themselves are defined in terms of fromRational, so you shouldn't be introducing any additional conversion. -- David Roundy http://civet.berkeley.edu/droundy/ _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
