File: precision_guard.test

package info (click to toggle)
wcalc 2.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 2,284 kB
  • sloc: ansic: 8,379; sh: 2,250; objc: 1,776; lex: 852; yacc: 603; makefile: 127
file content (7 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
\cons 1
1-0.9-0.1 # if precision_guard is on, this should return 0
\assert 0
1410.06-645.06 # should be 765 if precision_guard is on
\assert 765
23.05-14.5-8.55 # should be zero if precision_guard is on
\assert 0