Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Inexact floating-point compare



Fred J. Tydeman wrote:
> Does anyone know of any machines, that have a floating-point compare
> instruction, where that instruction is not exact?

Not a machine, but a number of programming languages provide this option.

For example, the Rexx language has a 'NUMERIC FUZZ n' setting, which reduces
the working precision by n digits for compare operations.  (This option was
a refinement on an idea from some earlier languages -- I forget which.)

Details are in ANSI Standard X3.274-1996 or any good Rexx book.

Mike Cowlishaw





<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.