Subject: [dssslist] Arithmetic error From: Alberto Martínez Pascual <alberto.martinez@xxxxxxxxxxxxxx> Date: Thu, 07 Apr 2005 16:00:24 +0200 |
I obtained today an erroneous result in an arithmetic operation using DSSSL. I began the typical prozess to minimize the field where the error appears, and the result was a surprise for me...
The result of this piece of code: ;**************************************************************************** ******************
(make sequence (if (< (- 7.1 7) 0.1) (literal (string-append (number->string (- 7.1 7)) " is less as 0.1")) (literal (string-append (number->string (- 7.1 7)) " is NOT less as 0.1")) ) (literal " BUT: ") (if (< (- 7.2 7) 0.2) (literal (string-append (number->string (- 7.2 7)) " is less as 0.2")) (literal (string-append (number->string (- 7.2 7)) " is NOT less as 0.2")) ) ) ;**************************************************************************** ******************
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Thread | Re: [dssslist] Arithmetic error, Paul Tyson | |
Date | Re: [dssslist] Arithmetic error, Paul Tyson | |
Month |