Opened 14 years ago

Last modified 7 years ago

#1469 closed defect

Bugs related to division by zero — at Initial Version

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone: Future
Component: Backend Version:
Keywords: Cc: Martin Sjölund, Patrick Täuber

Description

{{{class A

constant Real x = 0;
Real r = x/x;

end A;}}}

Gives
r = 0.0
Both wrong result, and no assertion added.

{{{class A

Real x = 0;
Real r = x/x;

end A;}}}

Gives
r = 1.0
No assertion is added.

Change History (0)

Note: See TracTickets for help on using tickets.