SRB2 Message Board

SRB2 Message Board (
-   Bug Reports (2.1.X) (
-   -   Fixed [2.1.17] FixedRound Always Returns 2147483647 (

Sryder13 12-11-2016 09:23 PM

[2.1.17] FixedRound Always Returns 2147483647

prints 2147483647 for example.

Monster Iestyn 12-11-2016 09:41 PM

It appears the mistake is in how the function calculates the fractional part of the number supplied, and that the same mistake also applies to the FixedFloor, Ceil and Trunc functions.

It's quite obvious how little we've used these functions ourselves I take it.

Sryder13 12-12-2016 12:26 AM

I have put a merge request for a fix to this (and the other Fixed Rounding functions) here:

Monster Iestyn 01-05-2017 03:55 PM

Sryder's merge request was added to next a few days ago so this can be marked as fixed now.

All times are GMT. The time now is 01:44 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.