Closed
Description
Python compares ints between 0 and 256 with "is" instead of "==", this causes a problem with the polygonal lib where at runtime 0.0 is compared against 0. The problematic function is Random.rand() in polygonal-core and looks like this:
inline public static function rand():Int
{
return cast (frand() * Limits.INT32_MAX);
}
Activity