File: test672.out

package info (click to toggle)
theme-d 7.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,036 kB
  • sloc: lisp: 9,625; sh: 5,321; makefile: 715; ansic: 477
file content (42 lines) | stat: -rw-r--r-- 1,881 bytes parent folder | download | duplicates (5)
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
37
38
39
40
41
42
(expt 2 3) = 8  OK
(expt 2 -3) = 1/8  OK
(expt 2 3.5) = 11.313708498984761  OK
(expt 0 1.0) = 0.0  OK
(expt 0 0.0) = 1.0  OK
(expt 2 (rational 0 1)) = 1  OK
(expt 2 (rational 1 1)) = 2  OK
(expt 2 (rational 3 1)) = 8  OK
(expt 2 (rational -3 1)) = 1/8  OK
(expt 3 (rational 4 5)) = 2.4082246852806923  OK
(expt -3 (rational 4 5)) = -1.9482946966653392+1.4155189542146738i  OK
(expt 2 (complex 1.5 -1)) = 2.1757361740278176-1.8072554055879297i  OK

(expt 2.5 -3) = 0.064  OK
(expt 0.0 0) = 1  OK
(expt 2.5 -1.5) = 0.25298221281347033  OK
(expt -2.5 -1.5) = -4.6472078574484644e-17+0.25298221281347033i  OK
(expt 0.0 0.0) = 1.0  OK
(expt 0.0 2.0) = 0.0  OK
(expt 1.0 (rational 0 1)) = 1.0  OK
(expt 1.5 (rational 4 5)) = 1.3831618672225916  OK
(expt -1.5 (rational 4 5)) = -1.119001456554461+0.8130021470867594i  OK
(expt 2.5 (complex 1.0 -1.5)) = 0.48775201192445783-2.451957987989118i  OK

(expt (rational 4 5) 3) = 64/125  OK
(expt (rational -4 5) -3) = -125/64  OK
(expt (rational 5 3) 1.5) = 2.151657414559676  OK
(expt (rational -5 3) 1.5) = -3.952530548403265e-16-2.151657414559676i  OK
(expt (rational 0 1) 0.0) = 1.0  OK
(expt (rational 0 1) 1.5) = 0.0  OK
(expt (rational 5 7) (rational 3 1)) = 125/343  OK
(expt (rational 5 7) (rational 3 2)) = 0.603681610520369  OK
(expt (rational -5 7) (rational 3 2)) = -1.1089451280418336e-16-0.6036816105203691i  OK
(expt (rational -5 7) (complex 1.5 -2.5)) = 1159.1937976990553-1036.5809470734252i  OK

(expt (complex -0.5 2.0) 3) = 5.875-6.5i  OK
(expt (complex -0.5 2.0) 0) = 1  OK
(expt (complex -0.5 2.0) 1.5) = -2.7052356139934957+1.2013740996120919i  OK
(expt (complex -0.5 2.0) (rational -6 3)) = -0.20761245674740483+0.11072664359861592i  OK
(expt (complex -0.5 2.0) (rational 5 4)) = -1.589349826769204+1.8910746320753018i  OK
(expt (complex -0.5 2.0) (complex -2.0 1.5)) = -0.012787319494071922-0.008659058125692969i  OK