Changeset 13609 in project


Ignore:
Timestamp:
03/09/09 05:12:32 (11 years ago)
Author:
Kon Lovett
Message:

Save.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/err5rs-arithmetic

    r13608 r13609  
    1212See [[http://scheme-punks.cyber-rush.org/wiki/index.php?title=ERR5RS:SRFIs_and_Standard_Libraries|ERR5RS:SRFIs_and_Standard_Libraries]]
    1313
     14Note that while this egg is named ''err5rs-arithmetic'' the actual extension is
     15''err5rs-arithmetic-fixnums'', ''err5rs-arithmetic-bitwise'' and ''err5rs-arithmetic-flonums''.
     16
    1417
    1518=== Fixnum Arithmetic
     
    452455<procedure>(fldenominator FL) => FLONUM</procedure>
    453456
     457==== Extras
     458
     459===== flnegate
     460
     461<procedure>(flnegate FL) => FLONUM</procedure>
     462
    454463
    455464=== Bitwise Arithmetic
     
    551560Returns {{0}} for {{#f}} or {{0}} and {{1}} otherwise.
    552561
    553 ==== Unchecked variants
     562===== Unchecked variants
    554563
    555564These procedures have the same signature as the similarly named ones but
    556565perform no argument checking.
    557566
    558 ===== *bitwise-if
    559 ===== *bitwise-if-not
    560 ===== *bitwise-test?
    561 ===== *bitwise-bit-count
    562 ===== *bitwise-length
    563 ===== *bitwise-first-bit-set
    564 ===== *bitwise-last-bit-set
    565 ===== *bitwise-bit-set?
    566 ===== *bitwise-copy-bit
    567 ===== *bitwise-bit-field
    568 ===== *bitwise-copy-bit-field
    569 ===== *bitwise-rotate-bit-field
    570 ===== *bitwise-reverse
    571 ===== *bitwise-reverse-bit-field
    572 ===== *bitwise-reverse-bit-field
    573 ===== *bitwise-list->integer
    574 ===== *bitwise-integer->list
    575 ===== *bitwise-arithmetic-shift
    576 ===== *bitwise-arithmetic-shift-left
    577 ===== *bitwise-arithmetic-shift-right
    578 ===== *pow2log2
     567====== *bitwise-if
     568====== *bitwise-if-not
     569====== *bitwise-test?
     570====== *bitwise-bit-count
     571====== *bitwise-length
     572====== *bitwise-first-bit-set
     573====== *bitwise-last-bit-set
     574====== *bitwise-bit-set?
     575====== *bitwise-copy-bit
     576====== *bitwise-bit-field
     577====== *bitwise-copy-bit-field
     578====== *bitwise-rotate-bit-field
     579====== *bitwise-reverse
     580====== *bitwise-reverse-bit-field
     581====== *bitwise-reverse-bit-field
     582====== *bitwise-list->integer
     583====== *bitwise-integer->list
     584====== *bitwise-arithmetic-shift
     585====== *bitwise-arithmetic-shift-left
     586====== *bitwise-arithmetic-shift-right
     587====== *pow2log2
    579588
    580589
     
    585594
    586595<enscript language=scheme>
    587 (require-library err5rs-arithmetic-fixnum)
     596(require-library err5rs-arithmetic-fixnums)
    588597...
    589598(import err5rs-arithmetic)
     
    593602
    594603<enscript language=scheme>
    595 (require-extension err5rs-arithmetic-fixnum)
     604(require-extension err5rs-arithmetic-fixnums)
    596605</enscript>
    597606
     
    600609
    601610<enscript language=scheme>
    602 (require-library err5rs-arithmetic-fixnum)
     611(require-library err5rs-arithmetic-flonums)
    603612...
    604613(import err5rs-arithmetic)
     
    608617
    609618<enscript language=scheme>
    610 (require-extension err5rs-arithmetic-fixnum)
     619(require-extension err5rs-arithmetic-flonums)
    611620</enscript>
    612621
     
    615624
    616625<enscript language=scheme>
    617 (require-library err5rs-arithmetic-fixnum)
     626(require-library err5rs-arithmetic-bitwise)
    618627...
    619628(import err5rs-arithmetic)
     
    623632
    624633<enscript language=scheme>
    625 (require-extension err5rs-arithmetic-fixnum)
     634(require-extension err5rs-arithmetic-bitwise)
    626635</enscript>
    627636
     
    639648
    640649* No ERR5RS full-numeric-tower arithmetic routines.
     650
     651* No full-numeric-tower suuport for {{real->flonum}}.
    641652
    642653
Note: See TracChangeset for help on using the changeset viewer.