cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fix PI

Fix PI

ETO is accurate to 0.00000000000001

PI is currently equal to 3.14159

PI should be equal to 3.14159265358979

1 Comment
JackGregory
Alumni

I absolutely scoffed when I read this, knowing that we went around on this more than 10 years ago.  But I did a search to make sure, and there is no question the %%GlobalVariables Design, which gets mixed into the "world" above the root, contains the bad definition.  Our internal definition (in c++) looks like this:

#ifndef M_PI
// 50 places: 3.1415926535897932384626433832795028841971693993751
#define M_PI    ((double)3.1415926535897932384626433832795028841971693993751L)
//#define M_PI    3.14159265358979323846 (prior to July 9, 2001)
#endif

The good news is you can fix this on your installations by modifying the xxGlobalVariables.iks file.

 

Thanks for the heads up.  It is hard to believe how long this must be been there.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Autodesk Design & Make Report