On Friday 04 February 2005 17:10, Timothy Miller wrote: > I've been coding the adder I'm working on to have a true zero. Logic > detects that the exponent is zero (meaning something like 2^-127, I > think) and doing the appropriate thing to make it a true zero. > > But I'm wondering if I can't just do away with that. 2^-127 is so > small that any time it gets converted to integer or added to a larger > number, it really does become zero. In fact, I'm not sure I can come > up with a situation where not explicitly making that zero does any > harm. > > Comments?
Do you have denormalised values? In IEEE-754 floating point, the hidden 1 in the mantissa becomes a 0 when the exponent is 0 (ie 2^-127). I guess I'm not seeing the point. Why add more hardware to round down small numbers? Lourens _______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
