Skip to content

Releases: LemLib/units

PROS Update

02 Nov 16:59

Choose a tag to compare

PROS Update Pre-release
Pre-release

Overview

Update PROS to v4.2.1, as it's a breaking update

Full Changelog: v0.7.1...v0.7.2

Quantity double operator hotfix

18 Feb 02:30

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

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

Choose a tag to compare

Normalize Bugfix

16 Feb 23:16

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

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

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

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

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

Choose a tag to compare

Pre-release

What's changed?

Fixed vector2d distance to not compiling

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