#STRTRK broken (!?)
19-Jul-90 01:24:47
Sb: #21046-#STRTRK broken (!?)
Fm: Dennette Harrod, Jr 76234,510
To: brian treadway 76116,3711
Thnx, Brian – I'm glad I'm not the only one who's been misled by
documentation!
BTW, just got creamed by the C run-time routine "atof()", which takes a
string and returns a double… if the string is in double-precision
notation (1.234D-12, as opposed to 1.234E-12), then the exponent is
_ignored_!! The Microsoft C version accepts "E", "e", "D", and "d", but
"standard" C only supports "E" and "e", so it stops parsing when it hits
the "D" or "d". Needless to say, the code I ported from the 'Bow to my VAX
and SUN did not give correct results, but it's been that way for the last
TWO YEARS and I just noticed it this week!
Share & Enjoy! Dennette