maths
libdfp
maths | libdfp | |
---|---|---|
3 | 1 | |
97 | 93 | |
- | - | |
1.3 | 7.0 | |
about 1 year ago | about 1 month ago | |
C++ | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
maths
- maths - templated c++ linear algebra library with vector swizzling, intersection tests and useful functions for games and graphics dev... includes live webgl/wasm demo ?
-
maths - templated c++ linear algebra library with vector swizzling, intersection tests and useful functions for games and graphics dev... includes live webgl/wasm demo.
that's exactly what the OP's library does link
libdfp
-
ELI5: Why can't computers calculate decimals as floats properly?
That said you can have a floating point number with base 10. Scientific notation is just that so 1.25 * 103 is a footing point number equal to 1250. 1.1 * 10 -2 =0.11 You can do calculations like that on a computer too there is just not a dedicated hard wart to it and you need do the maths with regular instruction. It can be done and you can fide libraries that do that like https://github.com/libdfp/libdfp
What are some alternatives?
hlslpp - Math library using hlsl syntax with SSE/NEON support
glm - jvm glm
vec-mat-comp-quat - C++ 2d/3d/4d Vector, 2x2/3x3/4x4 Matrix, Complex Number, Quaternion, and 3d Transformation Classes / Functions (Header Only libraries)
sleef - SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT
GLM - OpenGL Mathematics (GLM)
OpenTK - The Open Toolkit library is a fast, low-level C# wrapper for OpenGL, OpenAL & OpenCL. It also includes windowing, mouse, keyboard and joystick input and a robust and fast math library, giving you everything you need to write your own renderer or game engine. OpenTK can be used standalone or inside a GUI on Windows, Linux, Mac.
DirectXMath - DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
openlibm - High quality system independent, portable, open source libm implementation
cmathl - A pure-C math library with a great variety of mathematical functions. Seeks to be close to C89/C90 compliant for portability.