From ec0c61cd1f33423a4fcc33e6dd99c96c5ea08471 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Thu, 9 Feb 2023 10:41:33 -0330 Subject: cos and tan functions --- src/ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui.rs') diff --git a/src/ui.rs b/src/ui.rs index 7222935..dd3bfc5 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -17,7 +17,7 @@ use crate::Calculator; const WIDTH: u16 = 32; -const FUNCTIONS: [&str; 1] = ["sin"]; +const FUNCTIONS: [&str; 3] = ["sin", "cos", "tan"]; impl Calculator { pub fn draw(&self, f: &mut Frame) { -- cgit v1.2.3