Skip to main content

angles_to_rad

Function angles_to_rad 

Source
fn angles_to_rad(expr: &str) -> String
Expand description

式の中の角度(90deg 0.5turn 100grad 1rad)をラジアンの数値へ書き換える(三角関数の引数用)。 長さの式に角度が混ざっているものは、ここを通らないので従来どおり解析に失敗する。