;; -*-theme-d-*-

;; Copyright (C) 2014  Tommi Höynälänmaa
;; Distributed under GNU General Public License version 3,
;; see file doc/GPL-3.

;; Expected results: translation and running OK


(define-proper-program (tests test652)

  (import (standard-library core)
	  (standard-library real-math)
	  (standard-library console-io))

  (define-simple-proc main (() <none> nonpure)
    (console-display-line (r-sqrt -1.0))
    (console-display-line (r-asin 10.0))
    (console-display-line (r-acos 10.0))
    (console-display-line (r-log -1.0))
    (console-display-line (r-log 0.0))
    (console-display-line (r-log10 -1.0))
    (console-display-line (r-log10 0.0))
    (console-display-line (r-acosh 0.0))))

