File: tmid.reference

package info (click to toggle)
sollya 7.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 13,864 kB
  • sloc: ansic: 117,441; yacc: 8,822; lex: 2,419; makefile: 870; cpp: 76
file content (14 lines) | stat: -rw-r--r-- 442 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mid of 2 is 2
mid of 1 / 3 is 1 / 3
mid of log(-3) is log(-3)
mid of NaN is NaN
mid of [1;2] is 1.5
mid of [infty;infty] is (infty + infty) / 2
mid of [1;infty] is (1 + infty) / 2
mid of [-infty;infty] is (-infty + infty) / 2
mid of [-infty;1] is (-infty + 1) / 2
mid of [-infty;-infty] is (-infty + (-infty)) / 2
The following test produces a typing error
mid of _x_ is error
The following test produces a typing error
mid of Hello is error