From d1e76fc432ac5c9bde99591ec5e88e46b62d9c3d Mon Sep 17 00:00:00 2001 From: xuri Date: Wed, 17 Aug 2022 10:59:52 +0800 Subject: This closes #1319, fix calculate error for formula with negative symbol - Update unit test and comment for the functions --- calc_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'calc_test.go') diff --git a/calc_test.go b/calc_test.go index 47cd806..5822135 100644 --- a/calc_test.go +++ b/calc_test.go @@ -491,6 +491,7 @@ func TestCalcCellValue(t *testing.T) { // COS "=COS(0.785398163)": "0.707106781467586", "=COS(0)": "1", + "=-COS(0)": "-1", "=COS(COS(0))": "0.54030230586814", // COSH "=COSH(0)": "1", -- cgit v1.2.1