Changeset 15572 in project


Ignore:
Timestamp:
08/26/09 05:58:37 (10 years ago)
Author:
kon
Message:

Fix for 1.0+1i not treated as a rectnum or compnum [Bug noted by John Cowan] Added 'cintnum?' & 'cplxnum?'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/numbers

    r12166 r15572  
    5656Is X a ratio?
    5757
    58  [procedure] (cflonum? X)
     58 [procedure] (cplxnum? X)
    5959
    60 Is X an inexact-complex or a floatingpoint?
     60Is X a complex?
    6161
    6262 [procedure] (rectnum? X)
    6363
    64 Is X an exact-complex?
     64Is X an exact-complex? (Treats an integer-floatingpoint as "exact".)
    6565
    6666 [procedure] (compnum? X)
    6767
    6868Is X an inexact-complex?
     69
     70 [procedure] (cflonum? X)
     71
     72Is X a floatingpoint-complex or a floatingpoint?
     73
     74 [procedure] (cintnum? X)
     75
     76Is X an integer-complex or an integer?
    6977
    7078== Example
     
    101109=== Version history
    102110
     111; 1.808 : Fix for 1.0+1i not treated as a rectnum or compnum [Bug noted by John Cowan] Added 'cintnum?' & 'cplxnum?' [kon lovett]
    103112; 1.806 : Fix for equal? when given keywords as args [Bug noted by papasi] [elf]
    104113; 1.804 : Using more accurate exact->inexact conversion for rationals [Alex Shinn]
Note: See TracChangeset for help on using the changeset viewer.