Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ruby/bigdecimal] Add and use specific value allocators
* Add rbd_allocate_struct_zero for making 0.0 * Add rbd_allocate_struct_one for making 1.0 * Use them to replace VpAlloc calls * Renmae VpPt5 to VpConstPt5 ruby/bigdecimal@40c826f5e6
- Loading branch information
Showing
1 changed file
with
50 additions
and
19 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