All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.2.0 - 2016-12-24
- Compatibility with ruby 2.4
Fixnum
/Bignum
unification toInteger
- Parameters for
ceil
andfloor
compatible with ruby 2.4 numeric classes - Methods
finite?
andinfinite?
compatible with ruby 2.4 numeric classes - Method
digits_r
compatible with ruby 2.4 numericdigits
, as libcalc already provides adigits
function (requires ruby 2.4) - Method
clamp
returns ruby calc classes in ruby 2.4
- Adds
Calc::Q
(rational numbers) andCalc::C
(complex numbers) - Important (mathematical) libcalc functions as methods
- Several libcalc configuration options via
Calc#config
- Conversion to/from libcalc and ruby classes
- Compatibility methods with ruby numeric classes