I was wondering about how skill store floating points number,
Can any one provide more info
Refer to page 133 of the Skill Language User Guide, "SKILL stores all floating point numbers in double precision"
In reply to oldmouldy:
Thanks alot for your help,
But is this mean that skill repesents number as IEEE compliant double precision
I'm facing some problems in calculating layout points some points after calculation is a single grid off the expceted place.
In reply to Galaind:
When you got your result back onto grid, which function did you use? A while ago, I used function "int" by mistake, it cut my result by one grid down from time to time. Then, I switched to anothre function "round" or some formula like int(result/grid + 0.0000001)*grid to work-around it, then, everything looks ok to me.
In reply to Tongju:
thanks for your help, I tried round and it passed the correct results to me.