Changes between Version 7 and Version 8 of FlonumsCowan
 Timestamp:
 11/23/12 02:49:43 (5 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

FlonumsCowan
v7 v8 15 15 Returns the best flonum representation of x. 16 16 17 == R 6RScompatible procedures ==17 == R7RSsmallcompatible procedures == 18 18 19 The following core Schemeprocedures have flonum equivalents:19 The following R7RSsmall procedures have flonum equivalents: 20 20 21 21 {{{ … … 24 24 +  * / 25 25 abs numerator denominator floor ceiling truncate round 26 explog sin cos tan asin acos atan26 log sin cos tan asin acos atan 27 27 sqrt expt 28 28 }}} … … 65 65 `copysign``double copysign(double x, double y)`result has magnitude of x and sign of y 66 66 `cosh``double cosh(double)`hyperbolic cosine 67 `makeflonum``double ldexp(double x, int n)`x*2^n 67 `makeflonum``double ldexp(double x, int n)`x*2^n^ 68 68 `errorfunction``double erf(double)` 69 `expbinary``double exp2(double)`base2 exponential 70 `expminus1``double expm1(double)`exp(x)1 69 `exp``double exp(double)`e^x^ 70 `expbinary``double exp,,2,,(double)`base2 exponential 71 `expminus1``double expm1(double)`e^x^1 71 72 `exponent``double logb(double x)`the exponent of x, which is the integral part of log_r(x), as a signed floatingpoint value, for nonzero x, where r is the radix of the machine's floatingpoint arithmetic 72 73 `firstbesselorder0``double j0(double)`bessel function of the first kind, order 0 … … 75 76 `fractionexponent``double modf(double, double *)`returns two values, fraction and int exponent 76 77 `gamma``double tgamma(double)` 77 `hypotenuse``double hypot(double, double)`sqrt(x^2 +y^2)78 `hypotenuse``double hypot(double, double)`sqrt(x^2^+y^2^) 78 79 `integerexponent``int ilogb(double)`binary log as int 79 80 `logbinary``double log2(double)`log base 2