> > 3. We decree that all string to numeric conversions should return
> > a particular numeric type (eg NV), and that all numeric to string
> > conversions should similary convert to a fixed string type (eg utf8).
> > (Although I'm not sure that really helps.)
> 
> Feels like a bad plan, as it can be that no single intrinsic type
> (ie one native to the compiler of the implementation language) is

struct {
    IV whatitis;
    union {
        IV iv;
        UV uv;
        NV nv;  
   };
}

:-)

Yeah, doesn't help for complex numbers, quaternions, octonions, or
bignums...

> a superset of all the others
> (eg a platform with 64 bit integers, and the longest floating point type
> being 64 bit)

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to