[libre-riscv-dev] [isa-dev] Re: FP transcendentals (trigonometry, root/exp/log) proposal

whygee at f-cpu.org whygee at f-cpu.org
Thu Jan 16 03:22:21 GMT 2020


On 2020-01-16 04:04, lkcl . wrote:
> as in: for some low-cost algorithm implementations their accuracy is
> reduced sufficiently that the last place is wrong a significant amount 
> of
> the time (let alone rounding).  how do you *know* when the rounding (or 
> the
> last bit of the mantissa) is wrong?

That was my reaction :
if you *know* your LSB is wrong then you can correct it...
and if the correction is minimal, triggering an exception is overkill.
A flag would be enough...

> l.
yg



More information about the libre-riscv-dev mailing list