-
When shifting a safe integer beyond its width I would expect this library to raise an exception; instead I run into an assertion failure.
```cpp
#include "SafeInt/SafeInt.hpp"
// Shift an integ…
-
### Is there an existing issue?
- [X] I have searched the existing issues
### Experiencing problems? Have you tried our Stack Exchange first?
- [X] This is not a support question.
### Desc…
-
Generating random integers is a rather common procedure so it would be nice to have given that most people have probably used the [suggested function from MDN](https://developer.mozilla.org/en-US/docs…
-
Introduced by 549dd105273a5141003b6054c6f496f62e059cfb 128-bit integers used in e.g. `extern "sysv64"` produce the warning:
```
warning: `extern` fn uses type `u128`, which is not FFI-safe
--> s…
-
JS integers are really floats with no exponent, there is a limited range
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
defined as (1- (e…
-
Instead of using strings and integers enums should be used (more type safe).
nerro updated
8 years ago
-
**Issue by [rakudrama](https://github.com/rakudrama)**
_Originally opened as dart-lang/sdk#21916_
---
It would be convenient for some codegen scenarios to be able to generate a constant Int64 value…
-
When (if) we have packed array types, unboxed floats and fixed-width integers, it may become feasible to write *some* functions that don't require the GIL. Note that refcounts can't be manipulated and…
-
`header.hpp`:
```c++
using example_type = std::function;
```
`bindgen` invocation:
```rust
let bindings = bindgen::Builder::default()
.header("header.hpp")
.opaque_type("st…
-
```sql
select to_json(int8(9007199254740991 + 1))
```
JSON.parse parses all numbers as 53bit integers . When number is too big then JSON.parse silently loose precision what is not safe. Need to f…