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

*To*: common-lisp at SU-AI*Subject*: Moon's floating-point extractors proposal*From*: Guy.Steele at CMU-10A*Date*: Tue, 05 Oct 1982 03:55:00 -0000

I support Moon's proposal, but would like to suggest that FLOAT-SIGN be modified to (FLOAT-SIGN x &optional (y (float 1 x))) returns z such that x and z have same sign and (= (abs y) (abs z)). In this way (FLOAT-SIGN x) returns 1.0 or -1.0 of the same format as x, and FLOAT-SIGN of two arguments is what the IEEE proposal calls COPYSIGN, a useful function indeed in numerical code. --Guy

- Prev by Date:
**HIC lambda macros** - Next by Date:
**suggestions on floating point numbers and hash tables** - Previous by thread:
**HIC lambda macros** - Next by thread:
**suggestions on floating point numbers and hash tables** - Index(es):