From c7250aea9cf9f66fbd8503ce3b39d31b6939d3c2 Mon Sep 17 00:00:00 2001 From: Alex Herbert Date: Thu, 8 Aug 2024 17:24:49 +0100 Subject: [PATCH] User guide typos --- src/site/apt/userguide/index.apt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/apt/userguide/index.apt b/src/site/apt/userguide/index.apt index 99ba6fc88..885cf27ff 100644 --- a/src/site/apt/userguide/index.apt +++ b/src/site/apt/userguide/index.apt @@ -680,7 +680,7 @@ z.doubleValue() // = 1.0 For summation of terms of the same sign a very large number of operations would be required to observe a 1 ULP error in the final <<>> result. If terms of the opposite sign are summed then smaller magnitude intermediate terms can be lost due to the limited 106-bit - precision. In this case almost total cancellation will product the incorrect result. + precision. In this case almost total cancellation will produce the incorrect result. +------------------------------------------+ double a = 1; @@ -698,7 +698,7 @@ DD.of(a).add(b).add(c).subtract(c).subtract(b) // (0, 0) The purpose is to supplement the arithmetic operations in the <<
>> class providing greater accuracy at the cost of performance. This includes a power function that returns the result in a fractional representation - to avoid over or underflow, with a lower error bound that the equivalent function in <<
>>. + to avoid over or underflow, with a lower error bound than the equivalent function in <<
>>. ** Overflow and underflow