No safety in numbers
Thu, 21 Aug 2003 17:32:32 -0400
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.