Skip to content

Releases: LemLib/units

Quantity double operator hotfix

18 Feb 02:30
Compare
Choose a tag to compare
Pre-release

Marked Quantity double operator overload const

Full Changelog: v0.6.3...v0.7.1

Number Improvements

18 Feb 01:44
Compare
Choose a tag to compare
Number Improvements Pre-release
Pre-release

This update greatly improves how Number converts to and from built-in arithmetic types. It also fixes some bugs with operator overloads when using Number or a built-in arithmetic type. Theses obsoletes the number_double_ops namespace, so it has been removed. The _num string literal has also been removed, as it now does not have any purpose.

Improved Implicit Number Conversion, expanded std::format suppport

17 Feb 07:00
Compare
Choose a tag to compare

Normalize Bugfix

16 Feb 23:16
Compare
Choose a tag to compare
Normalize Bugfix Pre-release
Pre-release

fixed vector normalize not returning the correct type

v0.6.0

08 Jan 01:03
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

What's Changed

  • Return double instead of Number when units cancel in division or multiplication. by @sufferiing in #36
  • std::format support by @SizzinSeal in #37

Full Changelog: v0.5.2...v0.6.0

v0.5.2 - remainder, and explicit Number conversions

06 Jan 06:32
Compare
Choose a tag to compare

What's changed

  • add explicit conversion operators for Number
  • add remainder function

Full Changelog: v0.5.1...v0.5.2

v0.5.1 - Signum Fix

05 Jan 06:17
Compare
Choose a tag to compare
v0.5.1 - Signum Fix Pre-release
Pre-release

What's Changed

  • made sgn (signum) return 0 if input is 0

Full Changelog: v0.5.0...v0.5.1

v0.5.0 - Vector2D defluff

05 Jan 05:00
Compare
Choose a tag to compare
Pre-release

What's Changed

Removed the "fluff" from Vector2D, which made it confusing to work with

Full Changelog: v0.4.3...v0.5.0

v0.4.3 - distanceTo hotfix

05 Jan 02:03
Compare
Choose a tag to compare
Pre-release

What's changed?

Fixed vector2d distance to not compiling

Full Changelog: v0.4.2...v0.4.3

v0.4.2 - More Angle Shenanigans

03 Jan 03:33
ec18dd0
Compare
Choose a tag to compare
Pre-release

Overview

Another release, many more regrets with the whole compass angle vs standard position angle thing. We will be strongly reconsidering this whole thing for the 2025-2026 season, but we don't feel like breaking everyone's autos quite yet, so here is yet another hotfix

What's Changed

Full Changelog: v0.4.1...v0.4.2