View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000905 | Ecere SDK | compiler | public | 2013-05-16 13:46 | 2016-09-22 05:27 |
Reporter | jerome | Assigned To | jerome | ||
Priority | immediate | Severity | major | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 0.44.07 | ||||
Target Version | 0.44.16 | ||||
Summary | 0000905: Min & Max do not take into consideration both operand types | ||||
Description | If value is a float: Min(Max(0,value),1) An int is used to store the result and the float is lost (also the name of the variable is 'simpleStruct', fix that!). | ||||
Tags | No tags attached. | ||||
|
Additionally: Min(Max(euler.pitch, Degrees { -89.9 }), Degrees { 89.9 }) This works whereas: Min(Max(euler.pitch, -89.9), 89.9) This treats +/-89.9 as radians. |
|
Also seems related (especially simpleStruct change) to bug found in notes using both Min and Max inside a switch case's statement without curly brackets. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-05-16 13:46 | jerome | New Issue | |
2013-05-22 21:03 | jerome | Status | new => assigned |
2013-05-22 21:03 | jerome | Assigned To | => jerome |
2013-08-16 18:50 | jerome | Target Version | 0.44.10 64 => 0.44.09 |
2013-08-25 19:26 | jerome | Target Version | 0.44.09 => 0.44.10 64 |
2014-02-13 22:52 | jerome | Note Added: 0001184 | |
2016-04-19 05:29 | jerome | Target Version | 0.44.12 Fixes => 0.46 eC II |
2016-09-22 05:27 | jerome | Note Added: 0001443 | |
2016-09-22 05:27 | jerome | Reproducibility | have not tried => always |
2016-09-22 05:27 | jerome | Target Version | 0.46 eC II => 0.44.16 |