Raised This Month: $ Target: $400
 0% 

Natural logarithm function


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
St1L
New Member
Join Date: Feb 2011
Old 06-25-2019 , 15:07   Re: Natural logarithm function
Reply With Quote #1

Thank you.
Can I change x to Float? I guess this will work the same?
Code:
new Float:ratio = floatdiv(x - 1.0, x + 1.0)
What about floats in general? Do we have them supported (arithmetics) or must use float* functions for everything? I noticed that sometimes I'm getting some insane results. We certainly can't use operators for int and float. But can we use it for floats without probability of huge computation failure?
And mostly I asked about some native function. Natural logarithms should be easier for computers to calculate than ones with different base. So AMXX API Reference is wrong and we have no native ln?

Last edited by St1L; 06-25-2019 at 15:16.
St1L is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode