[Pas2js] Pas2js 0.9.20

Ryan Joseph ryan at thealchemistguild.com
Sat May 12 10:51:41 CEST 2018



> On May 12, 2018, at 3:49 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
> 
> The last parameter is a length. How a length can be a float is not clear to me :)
> 
> So, no. NativeInt is an integer. It is not 64 bit, but 52/53 bits.
> 
> Pascal rules apply, meaning that the result of / is a float.
> You must use 16 div 4 if you want an integer result.

Getting confused from Pascal to JS land. Makes sense to use div or typecast.

Regards,
	Ryan Joseph



More information about the Pas2js mailing list