[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fpu] More rounding questions...



Sergio,

> 1. If a result is a subnormal number, must I turn both Underflow 
> and Inexact bit on?? 

>From memory the standard has a dependancy between the
state of the trap bits and the inexact flag. I'll try to look
this out for you.

> 2. If a result is a subnormal, must I round it? I dont have the 
> standard...I assume that I will loss precision if I round it... 

You have to round a subnormal number, currectly denormalised
and set the inexact bit appropriately.

Fred
--
To unsubscribe from fpu mailing list please visit http://www.opencores.org/mailinglists.shtml