From: Jacob Lifshay Date: Tue, 25 May 2021 00:19:18 +0000 (-0700) Subject: add comment with intention to refactor trig functions in terms of sin_cos_tau X-Git-Url: https://git.libre-soc.org/?p=vector-math.git;a=commitdiff_plain;h=67cf000387247863d940404008b8b6167624c2be add comment with intention to refactor trig functions in terms of sin_cos_tau --- diff --git a/src/algorithms/trig_pi.rs b/src/algorithms/trig_pi.rs index 5be0ad6..834fd96 100644 --- a/src/algorithms/trig_pi.rs +++ b/src/algorithms/trig_pi.rs @@ -3,6 +3,9 @@ use crate::{ traits::{Compare, Context, ConvertFrom, ConvertTo, Float, Make, Select}, }; +// TODO: change `sin`/`cos`/`sin_pi`/`cos_pi` implementations to be +// in terms of `sin_cos_tau` aka. `(sin(2 * pi * x), cos(2 * pi * x))` + mod consts { #![allow(clippy::excessive_precision)] #![allow(dead_code)]