View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000905Ecere SDKcompilerpublic2013-05-16 13:462016-09-22 05:27
Reporterjerome 
Assigned Tojerome 
PriorityimmediateSeveritymajorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version0.44.07 
Target Version0.44.16Fixed in Version 
Summary0000905: Min & Max do not take into consideration both operand types
DescriptionIf 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!).
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001184)
jerome (administrator)
2014-02-13 22:52

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.
(0001443)
jerome (administrator)
2016-09-22 05:27

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.

- Issue History
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



Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker