Changes between Version 7 and Version 8 of FlonumsCowan


Ignore:
Timestamp:
11/23/12 02:49:43 (5 years ago)
Author:
cowan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FlonumsCowan

    v7 v8  
    1515Returns the best flonum representation of x. 
    1616 
    17 == R6RS-compatible procedures == 
     17== R7RS-small-compatible procedures == 
    1818 
    19 The following core Scheme procedures have flonum equivalents: 
     19The following R7RS-small procedures have flonum equivalents: 
    2020 
    2121{{{ 
     
    2424+ - * / 
    2525abs numerator denominator floor ceiling truncate round 
    26 exp log sin cos tan asin acos atan 
     26log sin cos tan asin acos atan 
    2727sqrt expt 
    2828}}} 
     
    6565||`copy-sign`||`double      copysign(double x, double y)`||result has magnitude of x and sign of y|| 
    6666||`cosh`||`double      cosh(double)`||hyperbolic cosine|| 
    67 ||`make-flonum`||`double      ldexp(double x, int n)`||x*2^n 
     67||`make-flonum`||`double      ldexp(double x, int n)`||x*2^n^|| 
    6868||`error-function`||`double      erf(double)`||-|| 
    69 ||`exp-binary`||`double      exp2(double)`||base-2 exponential|| 
    70 ||`exp-minus-1`||`double      expm1(double)`||exp(x)-1|| 
     69||`exp`||`double exp(double)`||e^x^|| 
     70||`exp-binary`||`double      exp,,2,,(double)`||base-2 exponential|| 
     71||`exp-minus-1`||`double      expm1(double)`||e^x^-1|| 
    7172||`exponent`||`double      logb(double x)`||the exponent of x, which is the integral part of log_r(|x|), as a signed floating-point value, for non-zero x, where r is the radix of the machine's floating-point arithmetic|| 
    7273||`first-bessel-order-0`||`double      j0(double)`||bessel function of the first kind, order 0|| 
     
    7576||`fraction-exponent`||`double      modf(double, double *)`||returns two values, fraction and int exponent|| 
    7677||`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^)|| 
    7879||`integer-exponent`||`int         ilogb(double)`||binary log as int|| 
    7980||`log-binary`||`double      log2(double)`||log base 2||