I've got something of a huge dilemma on my hands. My current project B+ crashes when attempting to mult two floats where the result is + infinity (overflows). It's taken a good day to locate the fault.
The annoying thing is that if i clamp the multiplied values then it's safe, but this presents the problem of predicting possible over/underflows quickly. Not an ideal solution really.. What's more annoying is that if I isolate and test routine it works fine, it only seems to be issue when I need to do it in a much larger source .. .
BEfore you ask, Yep, I'm trying to re-create the problem though. There's got to be something to triggers the error.. It's pretty limiting otherwise
Has anybody else experienced this issue before?, any ideas on 'quick' way to predict an under/overflow ?
The annoying thing is that if i clamp the multiplied values then it's safe, but this presents the problem of predicting possible over/underflows quickly. Not an ideal solution really.. What's more annoying is that if I isolate and test routine it works fine, it only seems to be issue when I need to do it in a much larger source .. .
BEfore you ask, Yep, I'm trying to re-create the problem though. There's got to be something to triggers the error.. It's pretty limiting otherwise
Has anybody else experienced this issue before?, any ideas on 'quick' way to predict an under/overflow ?