[ruby-talk:00221] Re: name for float of C wanted!
From:
gotoken@... (GOTO Kentaro)
Date:
1999-01-27 05:13:54 UTC
List:
ruby-talk #221
Hi!
In message "[ruby-talk:00220] Re: name for float of C wanted!"
on 99/01/26, Gabriel <gabriel@devo.com> writes:
>I would love to have a RoughFloat or CoarseFloat, personally, but if
>you are trying to imply via the name that the float in question is
>not very precise rather than it being a tough character that beats
>up other numbers at the bar, SmallFloat would be most appropriate.
>SingleFloat might be the most descriptive, and SFloat might be the best.
>
>So, SmallFloat or SFloat are my votes.
Admittedly, SmallFloat or SingleFloat are straightforward,
but, in term of Integer, BigNum means arbitrary big number,
so, `small' remind me of smaller numbers.
# Is my feeling strange?
On the other, though SingleFloat is also my first guess,
it seems to ask renaming the other Float, that is DoubleFloat.
Of course, we have an option to change the class hierarchy
such that the Float class to be the super class of DoubleFloat
and SingleFloat, maybe.
However, SFloat is not traditional(?) ruby's way, which doesn't
employ abbreviated word nor acronym.
Ummm....
In message "[ruby-talk:00219] Re: name for float of C wanted!"
on 99/01/26, Shigetoh Kumagai <shigetoh@zip.com.au> writes:
>How about ShortFloat or SingleFloat? That's straight forward and simple.
Aha! ShortFloat seems to be more appropriate (at least for me).
>I think SingleFloat show really what it means. If you have Duoble Precision, you can call it DoulbleFloat. What do you think?
>
>1) 2)
>Short Single
>Medium Double
>Long Triple
They show attracting but may be implement depend. In particular,
higher precision floating point numbers are not supported in
several platforms.
I think that we have to discuss more.
thanks!
-- gotoken