Computer Science Canada how to view constants available in turing language |
Author: | jennil [ Mon Jan 19, 2004 11:34 pm ] |
Post subject: | how to view constants available in turing language |
hi does neone know if turing has the function cos, the value of the constant e (the slope of derivative=1) or the value of the constant pi? thnx |
Author: | Mazer [ Tue Jan 20, 2004 8:02 am ] |
Post subject: | |
turing has cos (it uses radians, try cosd if you want degrees), not sure if turing has e, and i'm pretty sure turing doesn't have PI, but here ya go: 3.141592653 <-- that should be enough |
Author: | Tony [ Tue Jan 20, 2004 11:20 am ] |
Post subject: | |
I hear Turing 4.0.5 has Math.Pi and Math.E constants ![]() |
Author: | Andy [ Tue Jan 20, 2004 11:57 am ] |
Post subject: | |
yepp Math.PI for pie value Math.E for the e value |
Author: | jennil [ Tue Jan 20, 2004 12:44 pm ] |
Post subject: | |
thanks! |