OpenDream icon indicating copy to clipboard operation
OpenDream copied to clipboard

Implement isnan, isinf, fract, and trunc, ceil, and floor

Open redmoogle opened this issue 3 years ago • 1 comments

Should be parity with ref. NaN has weird behavior from fract and trunc returning 1.#QNAN (pretty sure this is just a Stingification problem)

Fixes: #867 Fixes: #866 Fixes: #865 Fixes: #864 Fixes: #863 Fixes: #862

redmoogle avatar Oct 27 '22 14:10 redmoogle

We need to make sure this doesn't cause issues compiling any 514 codebases that have their own implementations of these.

ike709 avatar Oct 27 '22 16:10 ike709

To add these we'll need to add a new compiler flag to decide whether to compile in 515 or 514.

Requires #883

ZeWaka avatar Oct 28 '22 20:10 ZeWaka

This PR does not require #883 nor does it cause any issues with the codebases we're currently developing against.

ike709 avatar Oct 28 '22 22:10 ike709