qb64
qb64 copied to clipboard
PRINT cannot handle large _Floats
Dim t As _Float
t = 1F300
Print t
Print Using "##.##################^^^^"; t
t = t * t
Print t
Print Using "##.##################^^^^"; t
Print is able to handle 1F300 but outputs INF D+300
when trying to print 1F600. Print Using correctly outputs the value.
Print calls STR$() internally, so that's where it must be.
Darn it, F in scientific notation? Wasn't it only D and E?
There goes:
Oh well... print using: