-
### Proposal
I think we should update our hash functions and at the same time make some changes to the Hashable protocol. Ideas for these updates come from recent developments in languages such as …
-
The hazards of unsigned arithmetic in C/C++ are well known, and modern style guides generally discourage their use for anything except bitwise manipulation and cases where the extra bit of positive ra…
-
Any fraction whose denominator is not a power of 2, cannot be accurately calculated using native-float arithmetic, neither can it be accurately stored in a native-float variable.
For example, in th…
-
New issue 71387 by ClusterFuzz-External: libpng:libpng_read_fuzzer: Integer-overflow in png_xy_from_XYZ
@ctruta: I asked them to raise a bug here. They sent you the details too. Probably a side e…
-
/proc/sys/kernel/shmall gives a count of pages as size_t. This overflows when multiplying by pagesize:
``` c
ipc_print_size(unit == IPC_UNIT_DEFAULT ? IPC_UNIT_KB : unit,
_("max total …
-
_I assume this feature request is a no-go given optimisation ramifications(?), but thought I'd open this for posterity's sake._
See the different results you get when using `int64` in the followin…
-
The parent of the inverse of a Laurent polynomial can be three different things
```
sage: R. = LaurentPolynomialRing(ZZ)
sage: parent(~x)
Univariate Laurent Polynomial Ring in x over Integer Ring
s…
-
Follow on from #32 --- I patched up the generated code to only use C's unsigned ints, for which we can rely on reliably wrapping around on overflow, but the matter of what happens with the Haskell-sid…
j-hui updated
3 years ago
-
Consider:
```
constexpr float inf = 1.0f / 0.0f;
constexpr float nan = 0.0f / 0.0f;
```
Clang currently rejects these, while GCC accepts: https://godbolt.org/z/oG4sP9TMc
I believe Clang is wro…
-
Much like the array bounds checking (issue #25), the kernel should be detecting signed integer overflows using the Undefined Behavior Sanitizer (UBSan) compiler feature. There are some false positives…
kees updated
6 months ago