logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Floating point conditionals fail to equate

    Scheduled Pinned Locked Moved
    Bug Reports
    1
    1
    180
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Thecheater887
      last edited by

      When using an If-Else on Refrenced and rapidly changing floating point numbers, occasionally using Greater than/less than will fail when the numbers are within 1 of eachother. This issue is resolved by subtracting 1 from one of the participants assuming the case allows.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post