B4A Code Snippet logarithms using BigDecimals - Roger Daley    May 12, 2017   (1 reaction) Hi All A small Code Module to provide Logs and AntiLogs when using BigDecimals. Not the precision I had hoped but appears to be far better than returning to Doubles for these functions. With these functions it is a small step to Non-Integer powers and roots in BigDecimals. Many Thanks to @agraham for the Bignumbers library. Regards Roger... B4A Question logarithms using BigDecimals [Solved} - Roger Daley    May 3, 2017
/**
* Compute the natural logarithm of x to a given scale, x > 0.
*/
public static BigDecimal ln(BigDecimal x...(scale, BigDecimal.ROUND_HALF_EVEN);
}
}
/**
* Compute the natural logarithm of x to a given scale... B4A Question How do I code for sine,cosine,tangent and logarithms in b4a? - klaus (first post)    Feb 26, 2018   (2 reactions) You might have a look at the B4X Basic Language booklet.... B4A Question Logarithms - Nyptop (first post)    Nov 13, 2011 Thanks :)... B4J Library [B4X] [XUI] xChart Class and b4xlib - klaus    Feb 4, 2025   (105 reactions)   tags: Klaus, B4X xChart Class scales, linear and logarithmic, automatic text size according to the chart size.
These can also be set... AdditionalLibraries\B4X folder.
B4JLogScaleV8_8.zip B4J project showing the logarithmic scales, it uses also... Share My Creation Number to e notation - knutf    Apr 9, 2025   (3 reactions)
e = Floor(Logarithm(Value,10))
res = $"${NumberFormat2(Value/Power(10,e),1,DecPlaces...,DecPlaces, False)
Else If Value < 1 Then
e = Ceil(Logarithm(1/Value,10))
res... B4R Question float arithmetic calculations in B4R - peacemaker    Aug 29, 2023 HI, All
1) Why Log() function shows only 4 digits after the decimal dot ?
2) How to make math calculations correctly (logarithms...) with max decimal tolerance, without loss ?
3) How to see the calculation results with 6...8 digits after the dot ?... B4A Class [B4x] xFFT Class and b4xlib - klaus (first post)    Mar 9, 2026 It seems that on this device:
Logarithm(8192, 2)
Returns 12.99999 instead of 13.
What is freal ?... B4A Question I Need Sub Code that Can Compute Large and Very Large Exponential - emexes (first post)    Sep 2, 2025   (1 reaction) if we work around the range limit by using logarithms.
BigDecimal could get you as close as approximately however many digits accurate its logarithm and power functions are, less however many digits... Share My Creation Modular system - emexes (first post)    Oct 19, 2022
I did consider whether to use linear or logarithmic scale
If for educational use, then radio buttons choosing between linear and logarithmic would be even better, for showing the difference between the two scales.... Page: 1   2   3   4   5   6   7   |