Sevgi Function
Shared helper functions used by Sevgi components.
Install
gem install sevgi-function
Require
require "sevgi/function"
Example
Sevgi::F.eq?(0.1 + 0.2, 0.3, precision: 12)
Ruby compatibility
Requires Ruby 3.4.0 or newer. CI verifies Ruby 3.4 and the current development Ruby from .ruby-version.
Native prerequisites
None beyond Ruby and this gem's Ruby dependencies.
Links
- Documentation: https://sevgi.roktas.dev
- API documentation: https://www.rubydoc.info/gems/sevgi-function
- Source: https://github.com/roktas/sevgi/tree/main/function
- Changelog: https://github.com/roktas/sevgi/blob/main/CHANGELOG.md