[ruby/bigdecimal] Make BigDecimal_double_fig inline

https://github.com/ruby/bigdecimal/commit/4ecf04da7a
This commit is contained in:
Kenta Murata 2022-11-13 10:09:16 +09:00 committed by git
parent 0a9d51ee9d
commit 0d5248673d

View File

@ -264,7 +264,7 @@ GetVpValue(VALUE v, int must)
* BigDecimal.double_fig # => 16
*
*/
static VALUE
static inline VALUE
BigDecimal_double_fig(VALUE self)
{
return INT2FIX(VpDblFig());