File: website_math.test

package info (click to toggle)
wcalc 2.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,284 kB
  • sloc: ansic: 8,379; sh: 2,250; objc: 1,776; lex: 852; yacc: 603; makefile: 127
file content (12 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
5sin(4) # should return 0.348782
\assert 0.348782
5sin(4!) # should return 2.03368
\assert 2.03368
5sin(4!)-7 # should return -4.96632
\assert -4.96632
5sin(4!)-7*2 # should return -11.9663
\assert -11.9663
5sin(4!)-7*2(4%6) # should return -53.9663
\assert -53.9663
5sin(4!)-7*2(4%6)^2 # should return -221.966
\assert -221.966