Signs which are numbers.
Signs which are numbers.
- Subject: Signs which are numbers.
- From: Emmanuel <email@hidden>
- Date: Mon, 15 Jan 2001 22:15:44 +0100
This may have been noticed before, in this case pardon me.
While debugging a parser of pseudo-formatted ASCII files, I have found the
following (AS 1.4.3).
--------------
"+" as integer
-- 0
--------------
This is cool.
--------------
"-" as integer
-- 0
--------------
Great !
--------------
"+" as real
--> error number -1700, Can't make "+" into a real
--------------
Well, er ... OK.
--------------
"-" as real
-- -1.0
--------------
Doh ! But:
--------------
"--" as real
--> error number -1700, Can't make "--" into a real
--------------
while:
--------------
"--------------------------------------------------" as integer
-- 0
--------------
and:
--------------
"-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+" as integer
-- 0
--------------
Any pointer to the IEEE about coercing signs into numbers ?
Emmanuel