Home > Community > Forums > Custom IC SKILL > skill precision for floating points

## Email

Recipients email * (separate multiple addresses with commas)

Message *

 Send yourself a copy

## Subscribe

Intro copy of the newsletter section here, some intro copy of the newsletter. Instruction of how to subscribe to this newsletter.

First Name *

Last Name *

Email *

Company / Institution *

 Send Yourself A Copy

# skill precision for floating points

Last post Tue, Sep 30 2008 1:55 AM by Galaind. 4 replies.
 Started by Galaind 29 Sep 2008 04:51 AM. Topic has 4 replies and 2512 views
• #### Mon, Sep 29 2008 4:51 AM

• Galaind
• Joined on Mon, Sep 29 2008
• Posts 3
• Points 45
skill precision for floating points
• Post Points: 20
• #### Mon, Sep 29 2008 5:09 AM

• oldmouldy
• Joined on Tue, Jul 15 2008
• Woking, Surrey
• Posts 1,387
• Points 23,625
Re: skill precision for floating points
 Refer to page 133 of the Skill Language User Guide, "SKILL stores all floating point numbers in double precision"
• Post Points: 20
• #### Mon, Sep 29 2008 5:18 AM

• Galaind
• Joined on Mon, Sep 29 2008
• Posts 3
• Points 45
Re: skill precision for floating points
 Thanks alot for your help, But is this mean that skill repesents number as IEEE compliant double precisionI'm facing some problems in calculating layout points some points after calculation is a single grid off the expceted place.
• Post Points: 20
• #### Mon, Sep 29 2008 10:42 AM

• Tongju
• Joined on Mon, Jul 14 2008
• San Jose, CA
• Posts 38
• Points 505
Re: skill precision for floating points
 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. Tongju
• Post Points: 20
• #### Tue, Sep 30 2008 1:55 AM

• Galaind
• Joined on Mon, Sep 29 2008
• Posts 3
• Points 45
Re: skill precision for floating points
 thanks for your help, I tried round and it passed the correct results to me.
• Post Points: 5