Class Log10
java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.math.Log10
-
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 TypeMethodDescription_invoke(IBoxContext context, ArgumentsScope arguments) This is overridden by the concrete to provide the actual BIF implementationstatic BigDecimallog10(BigDecimal value, MathContext mc) Computes the logarithm of a BigDecimal to base 10 using Newton's method.Methods inherited from class ortus.boxlang.runtime.bifs.BIF
announce, getDeclaredArguments, invoke
-
Constructor Details
-
Log10
public Log10()Constructor
-
-
Method Details
-
_invoke
Description copied from class:BIFThis is overridden by the concrete to provide the actual BIF implementation -
log10
Computes the logarithm of a BigDecimal to base 10 using Newton's method.- Parameters:
value- The BigDecimal value to compute the logarithm for.mc- The MathContext to control the precision.- Returns:
- The logarithm to base 10 of the value.
-