#angle #degree

radians

A crate for storing angles

8 releases

0.3.1 Feb 13, 2023
0.3.0 May 21, 2022
0.2.3 Apr 25, 2022
0.2.2 Mar 31, 2022
0.1.1 Feb 16, 2022

#950 in Math

Download history 1070/week @ 2025-09-28 1054/week @ 2025-10-05 977/week @ 2025-10-12 1086/week @ 2025-10-19 898/week @ 2025-10-26 971/week @ 2025-11-02 977/week @ 2025-11-09 1185/week @ 2025-11-16 811/week @ 2025-11-23 919/week @ 2025-11-30 1391/week @ 2025-12-07 1024/week @ 2025-12-14 467/week @ 2025-12-21 529/week @ 2025-12-28 1099/week @ 2026-01-04 1168/week @ 2026-01-11

3,352 downloads per month
Used in 3 crates

MIT/Apache

30KB
622 lines

radians

A crate for storing angles.

Exports the types Rad32 and Rad64 for dealing with angles in radians, as well as Wrap32 and Wrap64 for angles that automatically wrap around -π and +π.

Supports custom formatting in terms of degrees, minutes, and seconds, via the Rad{32, 64}.deg() method.

License: MIT OR Apache-2.0

Dependencies

~74KB