Bug: custom function parameters change order automatically

pegasusroe shared this problem 2 years ago
New

If you define a function:

clamp(x, h, k) = If(x < h, 0, If(x > k, 1, (x - h) / (k - h)))

GeoGebra will change the order of the parameters automatically to:

clamp(h, k, x) = If(x < h, 0, If(x > k, 1, (x - h) / (k - h)))

which should be considered a serious bug.

© 2021 International GeoGebra Institute