Jump to content

Real constants and functions: Difference between revisions

RPL: add section
(Added Applesoft BASIC, Chipmunk Basic, Gambas, GW-BASIC, QBasic, MSX Basic and XBasic)
(RPL: add section)
Line 3,031:
>> x .^ 2
25</syntaxhighlight>
 
{| class="wikitable"
! RPL code
! Comment
|-
|
'''e'''
'''π'''
x '''√'''
x '''LN'''
x '''LNP'''
x '''LOG'''
x '''EXP'''
x '''ABS'''
x '''FLOOR'''
x '''CEIL'''
x y '''^'''
|
e
π
square root
logarithm (base e)
equivalent to x 1 + LN - e.g. Log(x+1) - but more accurate for small values of x
logarithm (base 10)
exponential
absolute value
floor
ceiling
power
|}
 
=={{header|Ruby}}==
1,151

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.