[fpc-devel] *** GMX Spamverdacht *** Re: Broken frac function in FPC3.1.1 / Windows x86_64
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Apr 27 17:47:06 CEST 2018
On Sat, 28 Apr 2018 00:09:12 +1000
"Thorsten Engler" <thorsten.engler at gmx.net> wrote:
> Highest integer that fits in a Int64:
> 9223372036854775808
> 1e20:
> 100000000000000000000
>
> Your Int is overflowing.
>
> You can’t implement Frac by going through an Integer, that will never work.
It could work if you check for small and big values before doing so.
Mattias
More information about the fpc-devel
mailing list