Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 how to view constants available in turing language
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
jennil




PostPosted: 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
Sponsor
sponsor
Mazer




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




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

I hear Turing 4.0.5 has Math.Pi and Math.E constants Confused
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Andy




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

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




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

thanks!
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: