Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: Accuracy of 754-compliant recommended functions



Baker Kearfott wrote:
> Does this mean that, if the functions recommended in 754-2008 are provided,
> they must return the nearest floating point number subject to the rounding
> mode in effect?

No, Clause 9.1 says that the function has to be correctly rounded to be
called "conforming".  Since the functions are not required, and since one
is always allowed to provide additional functions, this is not a limitation.

> Where do you get that a quantum is defined only for decimal?

It is only RELEVANT for DFP, because for BFP the quantum of any given
representable value is fixed.  The quantum has nothing to do with the
accuracy of a result.  The preferred quantum only applies to exact DFP
results (e.g. sin(0)), because that is the only situation where there
is a choice of distinct representations for the same value (e.g. 0,
which has hundreds of distinct representations in DFP).

Michel.
---Sent: 2013-07-01 16:53:29 UTC