Skip to content

Posit log & log1p native implementations #244

@touisteur

Description

@touisteur

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

Metadata

Metadata

Assignees

No fields configured for Feature.

Projects

Status

Ready

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions