View Single Post
eyal282
Veteran Member
Join Date: Aug 2011
Old 02-05-2019 , 05:43   Re: Solve Exponential Base
Reply With Quote #4

Quote:
Originally Posted by stickz View Post
The issue I have is 1.64 ^ 1.39 almost precisely equals 2. This not entirely the behavior I want.

I'm trying to calculate the base using IEEE rounding standards, that would round upwards to 2.

For instance 1.35 ^ 1.39 would equal 1.5176 which would round upwards to 2 using IEEE standards.

I think a logarithm is required for this behavior. I can't just raise the value to 1 / exponent.
I don't 100% follow you but not rounding appears to be what you're trying to do. Instead of rounding 1.5176 to 2, keep it 1.5176.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline