Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

FW: Mathematical Operations in REBOL

 [1/2] from: doug::vos::eds::com at: 17-Oct-2000 10:15


A colleague forwarded this set of comments/questions to me and I am forwarding to the REBOL list...

 [2/2] from: rebol:techscribe at: 17-Oct-2000 10:34


Hi Doug, go to http://www.rebol.org/math/index.htmland pick up a copy of Eric Long's decimal.r. He writes: Purpose: Contains functions for the manipulation of decimal values, packaged into the REAL object. These provide full support for native binary floating-point file IO, compatible with C, FORTRAN, etc. REBOL decimal and money values may also be saved and loaded with no roundoff error. This package is necessary because the standard REBOL representation of decimal values may round off one or two significant digits, and the rounding of money values is an even greater source of error. This script contains two more objects, IEEE and EMPIRICAL, which provide several functions useful for exploring how decimal values are represented as double floating point numbers, and for testing the inexactness of the REBOL comparison functions. Direct download link: http://www.rebol.org/math/decimal.r This may be exactly what your friend is looking for. Elan [doug--vos--eds--com] wrote: