NVIDIA / NVIDIA/cccl

[FEA]: Add floating point manipulation helpers to scale fp values

Open
#7,673 0 comments 0 reactions 1 assignee Claimed by @s-oboyle View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

In our new improved math implementations, we often need to scale down floating point values below a given boundary to avoid precision issues.

Given that those are nontrivial to read we should provide optimized implementations of effectively `frexp` / `ldexp` to allow easy to use scaling of those fp values.

_Originally posted by @davebayer in https://github.com/NVIDIA/cccl/pull/7632#discussion_r2795152730_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.