[fpc-pascal] testing if a float has a fractional part

Jonas Maebe jonas at freepascal.org
Tue May 15 19:05:32 CEST 2018


On 15/05/18 13:14, Bart wrote:
> If Frac(x) equals zero, will Int(x) cahnge the bitpattern of x then?
> (Or: it cannot be gueranteed that this will not be the case?)

That cannot be guaranteed.


Jonas



More information about the fpc-pascal mailing list