xi (Xi Wang)
- 02:01 PM Ruby master Bug #7371: Fix undefined overflow checking in bigdecimal
- To see how it works, try to compile the following (simplified) code with gcc 4.8. The entire function will be optimi...
- 05:24 PM Ruby master Bug #7371 (Closed): Fix undefined overflow checking in bigdecimal
- In AddExponent() at ext/bigdecimal/bigdecimal.c:3677, the overflow checks rely on signed integer overflow, which is u...
- 06:54 PM Backport193 Backport #6736 (Closed): Avoid misoptimization due to division by zero
- In time.c (quo) we have:
if (b == 0) rb_num_zerodiv();
c = a / b;
This code pattern is dangero...
Also available in: Atom