Hi Andreas,
I'm not sure is this is a bug or only a limitation but executing:
Round(3000000000)
returns
2147483647
In general passing big values Round() fails giving lower results
Round() bug?
Round() bug?
----------------------------
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Round() bug?
It's a limitation. Round() returns the result as a signed 32-bit integer so -2147483648/2147483647 are the limits here. This limitation could be easily removed on the modern platforms but it's more difficult on AmigaOS3 so I'm currently keeping it.
Re: Round() bug?
Ok, thank you for the confirm
Anyway I've used a workaround to achieve the needed result
Anyway I've used a workaround to achieve the needed result
----------------------------
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆