company logo

Value :: pow - Calculate power

The function returns the exponential function for the value based on value (current value raised to power of value ).

Return value:  Value ( odaba::Value & )

Value of any type.

Implementation details

odaba::Value Value  :: pow ( odaba::Value &value )

The function converts the value passed in value into a double float point value. When conversion fails, the function throws an exception. Otherwise, the function calculates value raised to power of value2 .

  • value - Value

    Value of any type.