(defun x (a b c)
(let (square (sqrt (- (* b b) (* (* 4 a) c)))) (list square))
This code always produces (NIL) as output. Can't figure out why....
(defun x (a b c)
(sqrt (- (* b b) (* (* 4 a) c))))
This code returns ,with 1 2 3 as input, this strange looking output: #C(0 2.828427)
(let (square (sqrt (- (* b b) (* (* 4 a) c)))) (list square))
This code always produces (NIL) as output. Can't figure out why....
(defun x (a b c)
(sqrt (- (* b b) (* (* 4 a) c))))
This code returns ,with 1 2 3 as input, this strange looking output: #C(0 2.828427)