From 1bd9c021ddcf25af917fad59ce83edb56c973350 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 21 Nov 2024 21:57:10 -0600 Subject: [PATCH] sample-code: Fix typo in sqrt.cl --- sample-code/sqrt.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample-code/sqrt.cl b/sample-code/sqrt.cl index d4d5a5a..06cedd4 100755 --- a/sample-code/sqrt.cl +++ b/sample-code/sqrt.cl @@ -52,5 +52,5 @@ fn main() { println("Hypotenuse of ⊿(5, 12): ", pythag(5.0, 12.0)) println("\nQuadratic formula") - println("Roots of 10x² + 4x - 1: ", quadratic(10.0, 44.0, -1.0)) + println("Roots of 10x² + 4x - 1: ", quadratic(10.0, 40, -1.0)) }