lz_raise_e
e raised to a whole power.
long lz_raise_e( CLZNumber* leftOperand, CLZNumber* targetNumber = nullptr );
By repeated squaring. A fraction is refused, kFailed, flagged not-a-number; lz_exp_e takes any power.
Examples
| Call | Answer | Returns |
|---|---|---|
lz_raise_e( 2 ) | 7.389056098930650227230427460575007813 | kNoError |
lz_raise_e( −1 ) | 0.367879441171442321595523770161460867 | kNoError |
lz_raise_e( 2.5 ) | not a number | kFailed |
Each answer is what Addaptic printed for the call, at 36 places unless a setting is shown.
Returns
kNoError (0) when the answer is written. Otherwise an error code, with the answer flagged infinite or not-a-number; see Errors and flags.
See also
lz_exp_ee raised to the power of the number.lz_raise_nThe left number raised to a whole power, the right.