`require 'bigdecimal'` loads the native bigdecimal when it is installed and otherwise a pure Ruby BigDecimal that behaves like bigdecimal 4.x, NaN, modes, limit and BigMath to any precision included, for ruby.wasm and other places without a C compiler.

Required Ruby Version

>= 3.1

Authors

Andi Idogawa

Versions

  1. 0.2.1
    1. source

      1. 0.2.1 source October 16, 2026 (30.5 KB)
  2. 0.2.0
    1. source

      1. 0.2.0 source September 30, 2026 (30.5 KB)
  3. 0.1.0
    1. source

      1. 0.1.0 source September 30, 2026 (10 KB)

Pushed by

GitHub

SHA 256 checksum

Provenance