InterSystems SQL Reference
EXP


{fn EXP(expression)}
The logarithmic exponent, which is a numeric expression. 
SET a=1 WHILE a<11 { &sql(SELECT {fn LOG(:a)} INTO :b) IF SQLCODE'=0 { WRITE !,"Error code ",SQLCODE QUIT } ELSE { WRITE !,"Logarithm of ",a," = ",b } &sql(SELECT ROUND({fn EXP(:b)},12) INTO :c) IF SQLCODE'=0 { WRITE !,"Error code ",SQLCODE } ELSE { WRITE !,"Exponential of log ",b," = ",c SET a=a+1 } }
Content for this page loaded from RSQL_exp.xml (file updated 20180720 03:23:46)
