math library for half-precision numbers [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I want to use half-precision arithmetic on Cortex-A76. I installed clang compiler to use _Float16 data type (which is for 16-bit arithmetic purpose).
I was wondering is there any library for half-precision mathematic functions? (like for quadruple-precision numbers)
or which math functions are available for half-precision numbers? I checked the math.h library and there are functions just for double and float. Am I right?

Related

What does the logarithm code look like in C++? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I can't search what does the logarithm code look like in C++? What the code of the logarithm function looks like in C++ in the library cmath? Exactly the code. I don't need to figure out how I can get the logarithm. I want to know how this algorithm works.
You would be very disappointed. On modern processors, the C++ compiler inserts the assembly instruction that obtains it from the floating-point ALU. There is no code.
That is implementation specific and therefore can vary from system to system.
Since there are several ways to compute a logarithm, a good book on this kind of algorithm is a good start.

Implementation of ln(x) for AVX, m256 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Is there a source code for a fast implementation of natural logarithm, for __m256 type, for AVX?
There is fmath, but it only works for __m128
Glibc has AVX[-512] SIMD log and logf implementations in the github repository: sysdeps/x86_64/fpu/multiarch. It relies on a lot of support code, like polynomial coefficient data, macros, support functions, etc. Much of this is in the parent fpu directory.
GNU libc's license is LGPLv2, so you can dynamically link it from any software, but only copy the source into GPL-compatible projects.
Agner Fog's Vector Class Library (VCL) is now Apache-licensed, and also has some SIMD math functions. It can be used with __m256, implicitly converting to/from its internal Vec8f type.

Are there utilities to generate C bindings for C++ libraries? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Obviously there's no perfect way to do this, since at the very least, there's no perfect way to make a C interface to C++ generics. But are there any utilities that take a stab at this sort of thing? (e.g. by being given a list of template instantiations).

Code/library for Poisson Disk Sampling in C/C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a library that implements Poisson Disk Sampling in C or C++, or another one that would be easily translatable. Preferable not incredible long source, but if it is that's okay too.
Here is a clean single-file implementation in C++:
https://github.com/corporateshark/poisson-disk-generator

Symbolic Math Library in C/C++/Obj-C [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am trying to implement a graphing calculator on the iPhone. I am looking for a library that can take strings of expressions or functions and let me manipulate them (find derivatives, intercepts, zeros, etc). Does anything like this exist?
There's GiNaC for C++. GPL-licensed and actively maintained, last update only a month ago. I found old links to many others that don't seem to exist anymore; perhaps people simply found it easier to use GiNaC?