Changeset 14232 in project


Ignore:
Timestamp:
04/10/09 22:00:33 (11 years ago)
Author:
Kon Lovett
Message:

New routines..

File:
1 edited

Legend:

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

    r14119 r14232  
    9696==== fxmax-and-min
    9797
    98 <procedure>(fxmax-and-min FX...) => FIXNUM</procedure>
     98<procedure>(fxmax-and-min FX...) => FIXNUM+FIXNUM</procedure>
    9999
    100100==== fxmodulo
     
    108108==== fxdiv-and-mod
    109109
    110 <procedure>(fxdiv-and-mod FXN FXD) => FIXNUM</procedure>
     110<procedure>(fxdiv-and-mod FXN FXD) => FIXNUM+FIXNUM</procedure>
    111111
    112112==== fxdiv0
     
    120120==== fxdiv0-and-mod0
    121121
    122 <procedure>(fxdiv0-and-mod0 FXN FXD) => FIXNUM</procedure>
     122<procedure>(fxdiv0-and-mod0 FXN FXD) => FIXNUM+FIXNUM</procedure>
    123123
    124124==== fx*/carry
    125125
    126 <procedure>(fx*/carry FX1 FX2 FX3) => FIXNUM</procedure>
     126<procedure>(fx*/carry FX1 FX2 FX3) => FIXNUM+FIXNUM</procedure>
    127127
    128128==== fx+/carry
    129129
    130 <procedure>(fx+/carry FX1 FX2 FX3) => FIXNUM</procedure>
     130<procedure>(fx+/carry FX1 FX2 FX3) => FIXNUM+FIXNUM</procedure>
    131131
    132132==== fx-/carry
    133133
    134 <procedure>(fx-/carry FX1 FX2 FX3) => FIXNUM</procedure>
     134<procedure>(fx-/carry FX1 FX2 FX3) => FIXNUM+FIXNUM</procedure>
    135135
    136136==== fxarithmetic-shift
     
    541541<procedure>(flcompare FP1 FP2) => BOOLEAN</procedure>
    542542
     543==== flgcd
     544
     545<procedure>(flgcd FP1 FP2) => FLONUM</procedure>
     546
     547==== fllcm
     548
     549<procedure>(fllcm FP1 FP2) => FLONUM</procedure>
     550
    543551==== flfraction
    544552
    545553<procedure>(flfraction FP) => FLONUM</procedure>
    546554
     555==== flonum->fraction
     556
     557<procedure>(flonum->fraction FP) => FLONUM+FLONUM</procedure>
     558
    547559===== flnegate
    548560
     
    571583===== $flmax
    572584
    573 <macro>($flmax FP [FP1...]) => FIXNUM</macro>
     585<macro>($flmax FP [FP1...]) => FLONUM</macro>
    574586
    575587===== $flmin
    576588
    577 <macro>($flmin FP [FP1...]) => FIXNUM</macro>
     589<macro>($flmin FP [FP1...]) => FLONUM</macro>
    578590
    579591===== $fland
    580592
    581 <macro>($fland FP [FP1...]) => FIXNUM</macro>
     593<macro>($fland FP [FP1...]) => FLONUM</macro>
    582594
    583595===== $flior
    584596
    585 <macro>($flior FP [FP1...]) => FIXNUM</macro>
     597<macro>($flior FP [FP1...]) => FLONUM</macro>
    586598
    587599===== $flxor
    588600
    589 <macro>($flxor FP [FP1...]) => FIXNUM</macro>
     601<macro>($flxor FP [FP1...]) => FLONUM</macro>
    590602
    591603===== $fl+
    592604
    593 <macro>($fl+ FP [FP1...]) => FIXNUM</macro>
     605<macro>($fl+ FP [FP1...]) => FLONUM</macro>
    594606
    595607===== $fl-
    596608
    597 <macro>($fl- FP [FP1...]) => FIXNUM</macro>
     609<macro>($fl- FP [FP1...]) => FLONUM</macro>
    598610
    599611===== $fl*
    600612
    601 <macro>($fl* FP [FP1...]) => FIXNUM</macro>
     613<macro>($fl* FP [FP1...]) => FLONUM</macro>
    602614
    603615===== $fl/
    604616
    605 <macro>($fl/ FP [FP1...]) => FIXNUM</macro>
     617<macro>($fl/ FP [FP1...]) => FLONUM</macro>
    606618
    607619
Note: See TracChangeset for help on using the changeset viewer.