You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getiparam() rounds floating point numbers up to the nearing integer, instead of the C standard of flooring the value to the closest integer less than the floating point value.
Ex. int var = getiparam("c"); (Where c is 3.5) sets var to 4, instead of 3 as would be done with a cast to int in C.
The text was updated successfully, but these errors were encountered:
getiparam() rounds floating point numbers up to the nearing integer, instead of the C standard of flooring the value to the closest integer less than the floating point value.
Ex. int var = getiparam("c"); (Where c is 3.5) sets var to 4, instead of 3 as would be done with a cast to int in C.
The text was updated successfully, but these errors were encountered: