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

Make `isNaN` and `isFinite` non-function properties #87

Closed jessealama closed 6 months ago

jessealama commented 6 months ago

As it stands, isNaN is a method; make it a boolean property. Same for isFinite (which isn't even exposed, apparently).