Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Exponents in Turbo Pascal

  1. Dec 9, 2003 #1
    I'm doing a projext for school and I need to know how to use the ^ operator or if it even exists i looked everywhere and couldent find it.
  2. jcsd
  3. Dec 9, 2003 #2


    User Avatar
    Staff Emeritus

  4. Dec 9, 2003 #3
  5. Dec 9, 2003 #4


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Pascal, IIRC, doesn't have an exponentiation operator, but it does have built-in exp() and ln() functions, which can be composed as:


    which is the same as xy.

    - Warren
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Exponents Turbo Pascal Date
Turbo Debugger May 25, 2005
Turbo Assembly Language Apr 3, 2005
Pascal question2 Jan 31, 2005
Pascal question Jan 30, 2005
Please help pascal May 10, 2004