universal
universal copied to clipboard
Large collection of number systems providing custom arithmetic and mixed-precision algorithms for AI, Machine Learning, Computer Vision, Signal Processing, CAE, EDA, control, optimization, estimation,...
The overloaded operator == returns incorrect results. As a test case: `sw::universal::blas::matrix A = { { 5.0, 1.0, 0.0, 3.0}, { 0.0, -7.0, -1.0, -5.0}, { 0.0, -4.0, -8.0, -7.0},...
Hello! I'm having some trouble using Universal for RISC-V. I have a small test project with the following directories: ~~~ test_universal/ build/ src/ mymain.cpp CMakeLists.txt ~~~ The content of CMakeLists.txt...
The `fixpnt` type lacks a file `math/complex.hpp` (as it is available for posits and cfloats) with the functionality to create complex numbers, e.g., by providing real and imaginary parts. Thanks...
Is it possible to convert posit to uint64_t which result the same as *(uint64_t*) &( posit to double) without converting to double first? In fact, I can't use xmm register...
For representation with posit in the command line, the decimal output does not have enough bits, which will confuse rounding results with accurate results. For example: ``` posit 0.1 ```...
General ostream operator to represent adaptive precision linear floating-point numbers
Hi, I was looking for a posit implementation of the log and log1p functions, actually trying to benchmark how a posit32 (2,30?) would fare (precision and perf-wise) on a gpu...
Hi, Looking through the codebase, it seems the SVD function is all commented, while the Jacobi solver isn't. Can I perform a SVD on a square posit matrix using universal,...
in the Sterling approximation of factorial(n), we use an oracle based on the sw::universal::decimal type, which is an adaptive data type, to generate a reference value. However, the direct approximation...
I just tried compiling and installing the Stillwater flavor of unums which failed with CMake Error at c_api/pure_c/posit/cmake_install.cmake:50 (file): file INSTALL cannot find "PREFIX/universal/c_api/pure_c/posit/posit_c_api.h": No such file or directory. where...