how to view constants available in turing language
Author 
Message 
jennil

Posted: 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 





Sponsor Sponsor



Mazer

Posted: Tue Jan 20, 2004 8:02 am Post subject: (No 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 





Tony





Andy

Posted: Tue Jan 20, 2004 11:57 am Post subject: (No subject) 


yepp
Math.PI for pie value
Math.E for the e value 





jennil

Posted: Tue Jan 20, 2004 12:44 pm Post subject: (No subject) 


thanks! 






