• 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. Is there a function for mathematics constant PI?

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 144
  • Views 29641
  • 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

Is there a function for mathematics constant PI?

richardyuan
richardyuan over 11 years ago
what's the expression for π in cadence skill?
  • Cancel
Parents
  • tweeks
    tweeks over 11 years ago

    Thanks for the insights, Andrew.  From your explanation, I can see why the GDM API works as it does.  It sounds like, from a C programmer's point of view, it seems quite natural.

    I'm very curious as to the history of defMathConstants.  In Common Lisp and Emacs Lisp, those constants are simply bound to the value slots of certain symbols: pi, most-positive-fixnum, etc.  I couldn't find any mention of math constants in my Franz Lisp literature, so it seems to be something added by the SKILL developers, but I would like to know why they chose to use symbol property lists over the usual Common Lisp and Emacs Lisp conventions.  Maybe since the math constants ultimately are from C's math.h, it was easier to expose them to SKILL through property lists than by binding individual variables?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • tweeks
    tweeks over 11 years ago

    Thanks for the insights, Andrew.  From your explanation, I can see why the GDM API works as it does.  It sounds like, from a C programmer's point of view, it seems quite natural.

    I'm very curious as to the history of defMathConstants.  In Common Lisp and Emacs Lisp, those constants are simply bound to the value slots of certain symbols: pi, most-positive-fixnum, etc.  I couldn't find any mention of math constants in my Franz Lisp literature, so it seems to be something added by the SKILL developers, but I would like to know why they chose to use symbol property lists over the usual Common Lisp and Emacs Lisp conventions.  Maybe since the math constants ultimately are from C's math.h, it was easier to expose them to SKILL through property lists than by binding individual variables?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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