Class Exp
java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.math.Exp
-
Field Summary
Fields inherited from class ortus.boxlang.runtime.bifs.BIF
__functionName, __isMemberExecution, asyncService, cacheService, componentService, declaredArguments, functionService, interceptorService, logger, moduleService, runtime, schedulerService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Number_invoke(IBoxContext context, ArgumentsScope arguments) Calculates the exponent whose base is e that represents a number.static BigDecimalexp(BigDecimal x, MathContext mc) Calculates the exponent of a BigDecimal using Taylor series expansion.Methods inherited from class ortus.boxlang.runtime.bifs.BIF
announce, getDeclaredArguments, invoke
-
Constructor Details
-
Exp
public Exp()Constructor
-
-
Method Details
-
_invoke
Calculates the exponent whose base is e that represents a number. -
exp
Calculates the exponent of a BigDecimal using Taylor series expansion.- Parameters:
x- The BigDecimal value to calculate the exponent for.mc- The MathContext to control the precision.- Returns:
- The exponent of the BigDecimal.
-
_invoke
-