Unterhaltung
Nachrichten
-
(exact-integer-sqrt 10) ⇒ 3 1 ← 3² < √10 < (3+1)² gnu.org/software/guile/manual/html_node/Integer-Operations.html#Integer-Operations — cool!
Tuesday, 06-Oct-15 16:02:27 UTC von web-
(use-modules (srfi srfi-11)) (let-values (((a b) (exact-integer-sqrt 10))) (list a b)) ; ⇒ (3 1)
-