1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 19:05:54 +00:00
QB64-PE/internal/help/EXP.txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
Added new _STRCMP and _STRICMP commands for quick string comparisons.
Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders.
Altered UCASE and LCASE routines to be faster in some situations for us.
2014-09-22 08:19:03 -04:00

23 lines
1 KiB
Plaintext

The '''EXP''' math function returns the value of '''e''' to the power of the parameter used.
{{PageSyntax}}
:: value = EXP(exponent)
* '''e''' is defined as the base of natural logarithms or as the limit of (1 + 1 / n) ^ n as n goes to infinity
* The exponent value MUST be less than or equal to '''88.02969''' or an [[ERROR Codes|&quot;overflow&quot; error]] will occur!
* Value returned is '''e''' to the exponent parameter. '''e = 2.718282''' (approximately)
* Values returned are [[SINGLE]] by default but will return [[DOUBLE]] precision if the exponent uses a double value.
* Positive exponent values indicate the number of times to multiply '''e''' by itself.
* Negative exponent values indicate the number of times to divide by '''e'''. Example: e&lt;sup&gt;-3&lt;/sup&gt; = 1 / e&lt;sup&gt;3&lt;/sup&gt; = 1 /(e * e * e)
''See also:''
*[[LOG]]
*[[Mathematical Operations]]
*[http://qb64.net/wiki/index.php?title=Mathematical_Operations#Derived_Mathematical_Functions Derived Trigonometric Functions]
{{PageNavigation}}