File: test_pow

package info (click to toggle)
python 1.5.2-10potato11
  • links: PTS
  • area: main
  • in suites: potato
  • size: 13,340 kB
  • ctags: 36,680
  • sloc: ansic: 97,117; python: 88,266; makefile: 2,518; lisp: 2,363; sh: 882
file content (29 lines) | stat: -rw-r--r-- 456 bytes parent folder | download | duplicates (6)
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
test_pow
Testing integer mode...
    Testing 2-argument pow() function...
    Testing 3-argument pow() function...
Testing long integer mode...
    Testing 2-argument pow() function...
    Testing 3-argument pow() function...
Testing floating point mode...
    Testing 3-argument pow() function...
The number in both columns should match.
3 3
-5 -5
-1 -1
5 5
-3 -3
-7 -7

3L 3L
-5L -5L
-1L -1L
5L 5L
-3L -3L
-7L -7L

3.0 3.0
-5.0 -5.0
-1.0 -1.0
-7.0 -7.0