On Mon, Dec 29, 2008 at 3:34 PM, Chad J
<gamerc...@__spam.is.bad__gmail.com> wrote:
> Cool, but don't name it FixedInt unless it implements fixed point
> arithmetic.
>
> This name immediately suggests to me that it implements fixed point
> arithmetic using an integer of the given size, but then I'd be confused
> since I don't know how many bits are allocated to the fractional part.
>
> Maybe just Int.  Less typing.  Makes the point.  The template
> instantiation is a huge giveaway as to what is happening.
> Int!(64) == long
> UInt!(64) == ulong
> Int!(8) == byte
> etc..
> that would be "kicking rad".

I agree with you, but "FixedInt" couldn't possibly have anything to do
with fixed-point arithmetic, since fixed-point deals with
non-integers.  It's like having an imaginary real ;)

/me shames ireal.  bad, bad ireal!

Reply via email to