> so getival returning uint or ulong (or unsigned something-big-enough) avoids > the problem and seems fine to me.
good. i always get diff backwards. sorry. i agree on the standard quite. > there is, however, a bug in the compiler elsewhere, in that a suitable (uint) > cast in a > direct assignment > int x = (uint)doubleval; > is (apparently) discarded by the compiler, and it shouldn't be. > that shouldn't affect your getival cases, though. the implicit conversion on return also appears botched. - erik