devwaker / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Do not fail preprocessing with float/int literal overflows #468

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is also tracked in crbug.com/249086

Spec says for operations, we should not overflow but set to the max_value (or - 
max_value).

float/int Literals is a gray area, but per discussion with bajones and kbr, we 
decided to replace it with max_value of the highest precision. (The current 
behavior is failing with an overflow error message.)

Original issue reported on code.google.com by z...@google.com on 22 Aug 2013 at 8:41

GoogleCodeExporter commented 9 years ago

Original comment by z...@google.com on 19 Sep 2013 at 12:36