Float problem with PB 522, Tailbite 1.4.11 and Win7(x64)
Posted: Sat May 03, 2014 1:42 pm
Hello,
i have a problem and whant to know is it a bug or make i something wrong ?!?
if i use the following code with pb511(x86 and x64) it works.
If i use the following code with pb522(x86) it works too, but if i use the code in pb522(x64) i got only "NaN" back
Greetings Michael
lib code
testfile
i have a problem and whant to know is it a bug or make i something wrong ?!?
if i use the following code with pb511(x86 and x64) it works.
If i use the following code with pb522(x86) it works too, but if i use the code in pb522(x64) i got only "NaN" back
Greetings Michael
lib code
Code: Select all
ProcedureDLL.f test_LimitTo360(angle.f) ; Limitiert einen Winkel auf -359,999 zu 359,999 Grad
While angle > 360
angle - 360
Wend
While angle < - 360
angle + 360;
Wend
var.d = angle
ProcedureReturn angle
EndProcedure
Code: Select all
For n = 200 To 1000
Debug test_LimitTo360(n)
Next