On Sat, 28 Apr 2018 00:09:12 +1000
"Thorsten Engler" <thorsten.eng...@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

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to