forked from rapidsai/cudf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Utilities for decimal <--> floating conversion (rapidsai#15359)
These are some utilities used by the upcoming decimal <--> floating conversion PR. This has been submitted separately from that PR in order to spread out the complexity for review. These functions are not called by any code in this PR. One function is used to extract the components of the floating point number. Another function is used to set a floating point's sign bit and add some additional powers of two. These are done using integer and bit operations, which is much faster than using the built-in functions and bottle-necking on the FP64 pipeline. The final function is used to count the # of significant bits in a number. Authors: - Paul Mattione (https://github.com/pmattione-nvidia) - Lawrence Mitchell (https://github.com/wence-) Approvers: - Mark Harris (https://github.com/harrism) - Bradley Dice (https://github.com/bdice) - Mike Wilson (https://github.com/hyperbolic2346) URL: rapidsai#15359
- Loading branch information
1 parent
eafa570
commit 12336da
Showing
1 changed file
with
241 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters