real number in 64-bit
Posted: 30 Oct 2015 16:42
I am using build 7402 and converted a project from 32-bit to 64-bits.
Noticed that calculations involving real number produced an incorrect results in 64-bit.
Example:
In the example, TmpNum is real rather than r (user-defined domain) and gets an incorrect result.
But it worked fine in 32-bit.
Is there any changes in 64-bit on how to handle this situation.
Thank you for your replay in advance.
Noticed that calculations involving real number produced an incorrect results in 64-bit.
Example:
Code: Select all
domains
r = real.
predicates
calcNums : (r,r, r[out]).
clauses
calcNumbs(Num1,Num2,Results):-
TmpNum = Num1+Num2,
Results = TmpNum * 2.
But it worked fine in 32-bit.
Is there any changes in 64-bit on how to handle this situation.
Thank you for your replay in advance.