File: math.err

package info (click to toggle)
fish 3.0.2-2%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 36,448 kB
  • sloc: ansic: 75,559; cpp: 43,314; sh: 9,096; javascript: 7,710; python: 2,538; makefile: 1,461; objc: 709; perl: 367; xml: 18
file content (36 lines) | stat: -rw-r--r-- 702 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

####################
# Validate basic expressions

####################
# Validate some rounding functions

####################
# Validate some integral computations

####################
# Validate how variables in an expression are handled

####################
# Validate math error reporting
math: Error: Too few arguments
'2 - '
    ^
math: Error: Too few arguments
'ncr(1)'
      ^
math: Error: Expression is bogus
'max()'
   ^
math: Error: Too few arguments
'sin()'
     ^
math: Error: Too many arguments
'2 + 2 4'
       ^
math: Expected at least 1 args, got only 0
math: Expected at least 1 args, got only 0
math: Error: Result is infinite
'2^999999'
math: Error: Result is infinite
'1 / 0'