Release v0.0.2#10
Merged
Merged
Conversation
rhannequin
force-pushed
the
prepare-v0.0.2
branch
from
July 14, 2026 11:47
e8c6088 to
6cf60b7
Compare
rhannequin
force-pushed
the
release-v0.0.2
branch
from
July 14, 2026 11:47
e2cab03 to
2d43d68
Compare
This adds documentation for the first proper version of the gem.
rhannequin
force-pushed
the
prepare-v0.0.2
branch
from
July 14, 2026 20:05
6cf60b7 to
59ad5db
Compare
rhannequin
force-pushed
the
release-v0.0.2
branch
from
July 14, 2026 20:06
2d43d68 to
c37265f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
0.0.2 - 2026-07-14
The first functional release. It ships the numeric core and the two value
objects the rest of the library is built on:
InstantandDuration. Thescale conversions are not here yet, so an instant is built directly from a
TAI Julian Date for now.
Features
Numeric::TwoPartFloat, a number kept as a high and a lowFloatforabout twice the precision of one, with Shewchuk error-free arithmetic
Numeric::Exact, a value kept as an exactRational, with no rounding:standardor:exact, set when it is built and never changed. Mixing the two promotesthe result to
:exactinstead of dropping to:standardHorologium.configurefor the set-once default precision, andHorologium.with_precisionfor a scoped, per-fiber overrideInstant, a frozen point on the TAI timeline, built withInstant.from_tai_julian_dateDuration, a frozen span in SI seconds, built withDuration.seconds,Duration.days, andDuration.nanosecondssubtract two instants to measure the duration between them
Instant#equal_within?for comparison inside a toleranceDimensionalErrorFull Changelog: v0.0.1...v0.0.2