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 or cpu (compared to a float binary32) - also trying to use (otherwise unused) int32 resources in a CUDA kernel.
Reading the code on elementary functions, they seem implemented as 'call std::log and convert to posit'? Did I miss anything?
If not present, is there a canonical posit log/log1p implementation I could start from?
Thanks in advance,
Lionel
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 or cpu (compared to a float binary32) - also trying to use (otherwise unused) int32 resources in a CUDA kernel.
Reading the code on elementary functions, they seem implemented as 'call std::log and convert to posit'? Did I miss anything?
If not present, is there a canonical posit log/log1p implementation I could start from?
Thanks in advance,
Lionel