[Gambas-bugtracker] Bug #1843: Math type conversion Issue ... Maybe

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed Jul 22 01:54:24 CEST 2020


http://gambaswiki.org/bugtracker/edit?object=BUG.1843&from=L21haW4-

Comment #1 by Benoît MINISINI:

The compiler does no conversion, everything is done at runtime.


The MOD operator takes only integer operands, like the DIV operator. But not like the "/" operator that can deal with any numeric datatypes.

By not doing automatic conversions, the MOD and DIV operators can be faster.

Benoît MINISINI changed the state of the bug to: Rejected.




More information about the Bugtracker mailing list