Funcion EXP

Objetivo:

Devolver e (la base de logaritmos naturales) al poder de x.

Sintaxis:

EXP(x)

Comentarios:

x debe ser menos de 88.02969.

Si EXP se desborda, el mensaje de error "Overflow" aparece; el infinito de m�quina con el signo apropiado es suministrado como el resultado, y la ejecuci�n sigue.

EXP(x) es calculado en simple precisi�n, a no ser que el interruptor /d sea usado cuando el GW-BASIC es ejecutado.

Ejemplos:

10 X = 5 
20 PRINT EXP(X-1) 
RUN 
 54.59815

Imprime el valor de e a la 4ta potencia.

EXP Function

Purpose:

To return e (the base of natural logarithms) to the power of x.

Syntax:

EXP(x)

Comments:

x must be less than 88.02969.

If EXP overflows, the "Overflow" error message appears; machine infinity with the appropriate sign is supplied as the result, and execution continues.

EXP(x) is calculated in single precision, unless the /d switch is used when GW-BASIC is executed.

Examples:

10 X = 5 
20 PRINT EXP(X-1) 
RUN 
 54.59815

Prints the value of e to the 4th power.

1