1 Pages (3 items)
Problems with Floor() - Messages
#1 Posted: 5/23/2018 12:35:43 PM
Can anyone explain what is going on here?
Why is the Floor() function producing a 3 in the following example?

logrange.sm (9 KiB) downloaded 65 time(s).
Edit: The .sm shows it, but I am in 0.99.6671.
Why is the Floor() function producing a 3 in the following example?
logrange.sm (9 KiB) downloaded 65 time(s).
Edit: The .sm shows it, but I am in 0.99.6671.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#2 Posted: 5/23/2018 12:49:10 PM
This appears to be more of an issue with the log() function perhaps?
File not found.File not found.
File not found.File not found.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#3 Posted: 5/23/2018 1:34:07 PM
WroteCan anyone explain what is going on here?
like this: all maths functions are numerical approximations.
log(100000) does not come out exactly 4 [3 ± some epsilon]
just put log(10000.00000001) and get Floor [4]
floor(log(9999.999999999999))=4 [Mathcad]
floor(log(9999.999999999990))=3 [Mathcad]
floor(log(10000.00000001))=4 [Smath]
1 users liked this post
Arie 5/23/2018 2:04:00 PM
1 Pages (3 items)
-
New Posts
-
No New Posts