jessealama / decimal128

JavaScript userland partial implementation of IEEE 754 Decimal128 decimal floating-point arithmetic
BSD 2-Clause "Simplified" License
19 stars 8 forks source link

Move functionality for truncate, floor, and ceiling to round method #64

Closed jessealama closed 9 months ago

jessealama commented 9 months ago

The intention of the round method is to support all possible ways of rounding a decimal value. But are separate truncate and floor, and ceiling methods. Remove those, and ensure that the tests for those methods get turned into tests for round.

jessealama commented 9 months ago

closed via #66