Skip to content

easyextensions MathExtensions

BigMakCode edited this page Aug 5, 2024 · 1 revision

MathExtensions Public class

Description

Numeric fast extensions with basic Math methods.

Diagram

 flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph EasyExtensions
EasyExtensions.MathExtensions[[MathExtensions]]
end
Loading

Members

Methods

Public Static methods

ReturnsName
intPow(int number, int exponent)
Pow specified foundation to exponent.

Details

Summary

Numeric fast extensions with basic Math methods.

Methods

Pow

publicstaticintPow(intnumber,intexponent)
Arguments
TypeNameDescription
intnumberFoundation.
intexponentExponent of pow.
Summary

Pow specified foundation to exponent.

Returns

Calculation result.

Exceptions
NameDescription
OverflowExceptionThrows when calculation result is too big.

Generated withModularDoc

Clone this wiki locally