File: test682.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 (27 lines) | stat: -rw-r--r-- 696 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
(exact? 1) = #t
(exact? (rational 2 3)) = #t
(exact? 1.0) = #f
(exact? 1.5) = #f
(exact? (complex 1.0 2.0)) = #f
(exact? (complex 1.0 0.0)) = #f

(inexact? 1) = #f
(inexact? (rational 2 3)) = #f
(inexact? 1.0) = #t
(inexact? 1.5) = #t
(inexact? (complex 1.0 2.0)) = #t
(inexact? (complex 1.0 0.0)) = #t

(exact->inexact 1) = 1.0
(exact->inexact (rational 2 3)) = 0.6666666666666666
(exact->inexact 1.0) = 1.0
(exact->inexact 1.5) = 1.5
(exact->inexact (complex 1.0 2.0)) = 1.0+2.0i

(inexact->exact 1) = 1
(inexact->exact (rational 2 3)) = 2/3
(inexact->exact 1.0) = 1
(inexact->exact 1.5) = 3/2
(inexact->exact (complex 2.0 0.0)) = 2
(inexact->exact (complex 2.0 1.0)): exception [<condition>]