-
Right now the camera constructor takes entirely too many numeric parameters that are very easy to mix up. Some possible solutions to this are:
1. grouping the input parameters in structs
2. Use f…
-
My visual studio version is VS2022, there is an issue when I built boost with command: .\vcpkg install boost:x64-windows-static
outputs:
error: building boost-safe-numerics:x64-windows-static fail…
-
Consider:
#include
#include
using I = boost::safe_numerics::safe;
struct X { I i; };
std::optional f(X x)
{
return x.i;
}
When asked to compile…
Eelis updated
3 years ago
-
To my understanding `safe` should work in any template as integer safety is orthogonal.
I am unable to use `safe` in `std::span` in MSVC:
```c++
#include
#include
#include
using Int = b…
-
Hi,
Basically I would like to be able to use the right overload when it exists but if there is no overload
then that it default to classic cast of float to int.
Is that possible ?
Thanks !
-
Hello. I work in the European Space Agency, and have experience with the kinds of checks done by Ada and SPARK - and since I just met "safe_numerics", I did a quick test of the library with the foll…
-
As of right now it is not clear, which headers are public and which are private. Public headers are meant for inclusion by users of the library. The only way to approximate, whether the include is pub…
-
Any plans to add floating point support to safe_numerics?
-
The example at https://www.boost.org/doc/libs/1_77_0/libs/safe_numerics/doc/html/eliminate_runtime_penalty/3.html is aimed to demonstrate how different type promotion policies and exception policies c…
-
### Describe the enhancement requested
See discussion found in https://github.com/apache/arrow/issues/34901.
To summarize, safe casting of int64 to float64 for numerics greater than 2^53 is curr…