Skip to content

2.0.0

Choose a tag to compare

@Whathecode Whathecode released this 27 May 19:31
· 7 commits to develop since this release

Additions to IntervalUnion and Interval:

  • shift() offsets an interval by a specified amount (also as shl and shr operators).

Additions to Interval:

  • getValueAt() retrieves a value at a given percentage within (0.0–1.0) or outside (< 0.0, > 1.0) of the interval.

Bugfixes:

Additions to type operations used by interval, and thus a breaking change for extending libraries:

  • IntervalTypeOperations.unsafeValueAt()
  • IntervalTypeOperations.unsafeShift()
  • TypeOperations.fromDouble() and toDouble()

Dependency updates:

  • Kotlin 2.1.20
  • kotlinx.datetime 0.6.1