Changeset 38111 in project


Ignore:
Timestamp:
01/14/20 23:25:37 (9 months ago)
Author:
Kon Lovett
Message:

remove full-numeric-tower note

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/srfi-19

    r38096 r38111  
    764764(time->nanoseconds <time-duration>))) <time-duration>)}} might be {{#f}}, due
    765765to the use of inexact arithmetic.
    766 
    767 * Be careful using the procedures that return some form of 'julian-day'. These are
    768 implemented using the full numeric tower and '''will''' return rational numbers.
    769 Performing arithmetic with such a result will require the "numbers" egg. See the
    770 file "srfi-19-test.scm" in this egg for an example. This will be a problem with
    771 code that assumes fixnum and/or flonum '''only''' numbers. Perhaps an intermediate
    772 file that wraps any 'julian-day' calls and coerces to an inexact number. Use the
    773 wrapped 'julian-day' call in the problematic code.
    774766
    775767
Note: See TracChangeset for help on using the changeset viewer.