[ruby-talk:00222] Re: name for float of C wanted!

From: gotoken@... (GOTO Kentaro)
Date: 1999-01-28 09:09:45 UTC
List: ruby-talk #222
Hi

In message "[ruby-talk:00221] Re: name for float of C wanted!"
    on 99/01/27, GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp> writes:

>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. 

I'm deciding on this changing. 
The following is reason why superclass is needed:

  * backward compatibility for kind_of?(Float)
  * float and double behave in the most cases
  * floating point numbers should be characterized

>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). 

ShortFloat is charming me still now, but I cannot give 
appropriately any name the version of double of C, i.e., 
current Float. 
Many people tend to think that LongFloat is finer than Float. 

So, I'm adopting the new hierarchy as follows:

  Numerical
    Float
      DoubleFloat (== new name of the current version of Float)
      SingleFloat

thanks!

-- gotoken

In This Thread

Prev Next