SKILL language predefined globals

A

analogsuperninja

Guest
Can someone direct me to a list of SKILL's predefined globals?

For example, I'm not even sure how to calculate the area of a circle;
"pi" is an "unbound variable". Surely the CIW knows the value of pi,
right?
 
You can use the defMathConstants function to define a symbol that you
can use to access some predefined constants.
defMathConstants('m)
m
m.PI
3.141593
m.??
(SQRT_POINT_FIVE 0.7071068 SQRT_TWO 1.414214 TWO_OVER_SQRTPI
1.128379 TWO_OVER_PI 0.6366198 ONE_OVER_PI 0.3183099
PI_OVER_4 0.7853982 PI_OVER_2 1.570796 PI
3.141593 LN10 2.302585 LN2 0.6931472
LOG10E 0.4342945 LOG2E 1.442695 E
2.718282 DBL_MIN 2.225074e-308 DBL_MAX 1.797693e+308
INT_MIN -2147483648 INT_MAX 2147483647 SHRT_MIN
-32768 SHRT_MAX 32767
)


On Jan 31, 11:10 am, analogsuperninja <peter.deroun...@gmail.com>
wrote:
Can someone direct me to a list of SKILL's predefined globals?

For example, I'm not even sure how to calculate the area of a circle;
"pi" is an "unbound variable". Surely the CIW knows the value of pi,
right?
 

Welcome to EDABoard.com

Sponsor

Back
Top