Changeset 34192 in project


Ignore:
Timestamp:
06/19/17 00:02:32 (5 days ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [66.108.88.48]: Removed reference to numbers egg; explained about inexact complex numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/man/5/faq

    r34052 r34192  
    6767==== Why doesn't CHICKEN support the full numeric tower by default?
    6868
    69 The short answer is to use the [[/egg/numbers|numbers]] egg:
    70 
    71 <enscript highlight=scheme>
    72 % chicken-install numbers
    73 % csi -q
    74 #;1> (use numbers)
    75 </enscript>
    76 
    77 The long answer:
    78 
    79 There are a number of reasons for this:
    80 
    81 - For most applications of Scheme fixnums (exact word-sized integers) and flonums (64-bit floating-point
    82 numbers) are more than sufficient;
    83 
    84 - Interfacing to C is simpler;
    85 
    86 - Dispatching of arithmetic operations is more efficient.
    87 
     69As of Chicken 5, it does!  The {{numbers}} egg is no longer necessary
     70or supported.
     71
     72Note that unlike some other Schemes, Chicken does not support complex
     73numbers with mixed exactness.  If either argument to {{make-rectangular}}
     74is inexact, the resulting complex number will be inexact in both its
     75real and imaginary parts.  Either behavior is allowed by the various
     76Scheme standards.
    8877
    8978==== Does CHICKEN support native threads?
     
    236225==== Where is {{define-macro}}?
    237226
    238 With CHICKEN 4, the macro-expansion subsystem is now hygienic where old Lisp-style low-level macros
     227In CHICKEN 4 and 5, the macro-expansion subsystem is now hygienic where old Lisp-style low-level macros
    239228are not available anymore. {{define-syntax}} can define hygienic macros using {{syntax-rules}}
    240229or low-level macros with user-controlled hygienic with ''explicit renaming'' macros. Translating
Note: See TracChangeset for help on using the changeset viewer.