With the latest release run this. Each will output "f" if it has a mantissa > 0, with or without optimizations on. It works just fine with the release directly preceding this one.
DOUBLE d = 1.1
PRINT STR$( d )
d = 1.0
PRINT STR$( d )
PRINT
FLOAT f = 1.1
PRINT STR$( f )
f = 1.0
PRINT STR$( f )
PRINT
PRINT STR$( 1.1 )
PRINT STR$( 1.0 )
EDIT:
Found the actual issue. It was caused by this code: $USE "ntdll.lib"
Works fine here (no "f" in the output).
Have you updated your compiler version?
Sergio
There's a new one uploaded on "Mar 30, 8:17". Just in case I was wrong I downloaded it again. I get the same issue.
Cheers.
Works fine for me with same download version in XP SP3
LarryMc
Geez. You're right. I deleted the "iwbdev" folder entirely then reinstalled, now everything is fine.
My mistake. Sorry. I am not sure what I did at some point. :-[
EDIT:
Actually, I found out what caused it. I had installed the old ccProject.incc into the bin folder.
This contains the line: $USE "ntdll.lib", which is the problem for me even with a fresh install.
The important thing is you got it resolved. ;)
LarryMc