# Pastebin alPTC0t6 Physics::Measure has this https://raku.land/zef:librasteve/Physics::Measure#angles #Angles use degrees/minutes/seconds or decimal radians my $θ1 = ^<45°30′30″>; #45°30′30″ (using <> to deconfuse quotation marks) my $θ2 = ^<2.141 radians>; #'2.141 radian' #NB. The unit name 'rad' is reserved for the unit of radioactive Dose # Trigonometric functions sin, cos and tan (and arc-x) handle Angles my $sine = sin( $θ1 ); #0.7133523847299412 my $arcsin = asin( $sine, units => '°' ); #45°30′30″ #NB. Provide the units => '°' tag to tell asin you want degrees back it uses Physics::Unit which has this… Angle: - {names: [°, degree, deg, º], defn: 'pi radians / 180'} - {names: [ᵍ, gon, grad], defn: 'pi radians / 200'} and - Angle: [radian, rad] (ie the default is rad) There is also Physics::Navigation… that adds on lat/long and bearing (ie points of compass and modulo math)