• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. skill precision for floating points

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14966
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

skill precision for floating points

Galaind
Galaind over 16 years ago

Hi,

I was wondering about how skill store floating points number,

Can any one provide more info

  • Cancel
  • oldmouldy
    oldmouldy over 16 years ago

    Refer to page 133 of the Skill Language User Guide, "SKILL stores all floating point numbers in double precision"

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Galaind
    Galaind over 16 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tongju
    Tongju over 16 years ago

    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

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Galaind
    Galaind over 16 years ago

    thanks for your help, I tried round and it passed the correct results to me.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information