From 67cf000387247863d940404008b8b6167624c2be Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 24 May 2021 17:19:18 -0700 Subject: [PATCH] add comment with intention to refactor trig functions in terms of sin_cos_tau --- src/algorithms/trig_pi.rs | 3 +++ 1 file changed, 3 insertions(+) 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)] -- 2.30.2