floating point number representation
20 Aoû
2007
20 Aoû
'07
19:41
hi (+ 1.0 3.0) ;; 4. can I have "4.0" instead? where do I have to change in "lib/_num.scm"? (I am guessing) Thanks
Afficher les réponses par date
20 Aoû
20 Aoû
20:13
On 20-Aug-07, at 3:41 PM, naruto canada wrote:
hi
(+ 1.0 3.0) ;; 4.
can I have "4.0" instead? where do I have to change in "lib/_num.scm"? (I am guessing)
In lib/_num.scm change (##define-macro (macro-chez-fp-syntax) #f) to (##define-macro (macro-chez-fp-syntax) #t) and do a "make". Note that this violates the Scheme spec (which requires that the minimum number of digits must be used). Marc
6871
Âge (en jours)
6871
Dernière activité (en jours)
1 commentaires
2 participants
participants (2)
-
Marc Feeley -
naruto canada