testsuite: add bc and dc tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
44
testsuite/bc_cosine.bc
Normal file
44
testsuite/bc_cosine.bc
Normal file
@@ -0,0 +1,44 @@
|
||||
scale = 25
|
||||
p = 4 * a(1)
|
||||
scale = 20
|
||||
c(0)
|
||||
c(0.5)
|
||||
c(1)
|
||||
c(2)
|
||||
c(3)
|
||||
c(-0.5)
|
||||
c(-1)
|
||||
c(-2)
|
||||
c(-3)
|
||||
c(p / 7)
|
||||
c(-p / 7)
|
||||
c(p / 4)
|
||||
c(-p / 4)
|
||||
c(p / 3)
|
||||
c(-p / 3)
|
||||
c(p / 2)
|
||||
c(-p / 2)
|
||||
c(3 * p / 4)
|
||||
c(3 * -p / 4)
|
||||
c(p)
|
||||
c(-p)
|
||||
c(3 * p / 2)
|
||||
c(3 * -p / 2)
|
||||
c(7 * p / 4)
|
||||
c(7 * -p / 4)
|
||||
c(13 * p / 4)
|
||||
c(13 * -p / 4)
|
||||
c(2 * p)
|
||||
c(2 * -p)
|
||||
c(131231)
|
||||
c(-131231)
|
||||
c(859799894.3562378245)
|
||||
c(859799894.3562378245)
|
||||
c(4307371)
|
||||
c(3522556.3323810191)
|
||||
c(44961070)
|
||||
c(6918619.1574479809)
|
||||
c(190836996.2180244164)
|
||||
c(34934)
|
||||
c(2483599)
|
||||
c(13720376)
|
||||
Reference in New Issue
Block a user