This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch openformula
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 12d9f7d4ac7c6ae533570761acdc7e345a110c52
Author: Jim Jagielski <[email protected]>
AuthorDate: Sat Nov 14 14:54:56 2026 -0500

    helpcontent2: fix error values and rounding in the IFNA, SKEWP and BIT* 
topics
---
 main/helpcontent2/source/text/scalc/01/func_bitand.xhp    | 2 +-
 main/helpcontent2/source/text/scalc/01/func_bitlshift.xhp | 2 +-
 main/helpcontent2/source/text/scalc/01/func_bitor.xhp     | 2 +-
 main/helpcontent2/source/text/scalc/01/func_bitrshift.xhp | 2 +-
 main/helpcontent2/source/text/scalc/01/func_bitxor.xhp    | 2 +-
 main/helpcontent2/source/text/scalc/01/func_ifna.xhp      | 2 +-
 main/helpcontent2/source/text/scalc/01/func_skewp.xhp     | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/main/helpcontent2/source/text/scalc/01/func_bitand.xhp 
b/main/helpcontent2/source/text/scalc/01/func_bitand.xhp
index 9a41a82a31..e4fe3491e8 100644
--- a/main/helpcontent2/source/text/scalc/01/func_bitand.xhp
+++ b/main/helpcontent2/source/text/scalc/01/func_bitand.xhp
@@ -41,7 +41,7 @@
 <paragraph role="code" id="par_id3160205" xml-lang="en-US" 
l10n="U">BITAND(Number1; Number2)</paragraph>
 <paragraph role="paragraph" id="par_id3160206" xml-lang="en-US" 
l10n="U"><emph>Number1</emph> and <emph>Number2</emph> are integers greater 
than or equal to 0 and less than 2^48 (281474976710656).</paragraph>
 <paragraph role="heading" id="hd_id3160207" xml-lang="en-US" level="3" 
l10n="U">Remarks</paragraph>
-<paragraph role="paragraph" id="par_id3160208" xml-lang="en-US" 
l10n="U">Arguments are truncated to integers before the operation. Non-integer, 
negative, or out-of-range values return an error (Err:502).</paragraph>
+<paragraph role="paragraph" id="par_id3160208" xml-lang="en-US" 
l10n="U">Arguments are rounded down to integers before the operation. Values 
that are negative after rounding down, greater than 2^48 - 1, or not finite 
return an error (Err:502).</paragraph>
 <paragraph role="paragraph" id="par_id3160209" xml-lang="en-US" 
l10n="U">Example: decimal 6 is binary <quote>110</quote>, decimal 3 is binary 
<quote>011</quote>. BITAND(6; 3) returns 2 (binary 
<quote>010</quote>).</paragraph>
 <paragraph role="heading" id="hd_id3160210" xml-lang="en-US" level="3" 
l10n="U">Example</paragraph>
 <paragraph role="paragraph" id="par_id3160211" xml-lang="en-US" l10n="U"><item 
type="input">=BITAND(6; 3)</item> returns 2.</paragraph>
diff --git a/main/helpcontent2/source/text/scalc/01/func_bitlshift.xhp 
b/main/helpcontent2/source/text/scalc/01/func_bitlshift.xhp
index fd6f1f7f2d..0139bdae19 100644
--- a/main/helpcontent2/source/text/scalc/01/func_bitlshift.xhp
+++ b/main/helpcontent2/source/text/scalc/01/func_bitlshift.xhp
@@ -44,7 +44,7 @@
 <paragraph role="heading" id="hd_id3160508" xml-lang="en-US" level="3" 
l10n="U">Remarks</paragraph>
 <paragraph role="paragraph" id="par_id3160509" xml-lang="en-US" l10n="U">If 
<emph>Shift</emph> is 0, <emph>Number</emph> is returned unchanged.</paragraph>
 <paragraph role="paragraph" id="par_id3160510" xml-lang="en-US" l10n="U">If 
<emph>Shift</emph> is greater than or equal to 64 (or less than or equal to 
-64), the result is 0.</paragraph>
-<paragraph role="paragraph" id="par_id3160511" xml-lang="en-US" 
l10n="U"><emph>Number</emph> is truncated to an integer before the operation. 
Non-integer, negative, or out-of-range values for <emph>Number</emph>, or 
non-finite values for <emph>Shift</emph>, return an error (Err:502).</paragraph>
+<paragraph role="paragraph" id="par_id3160511" xml-lang="en-US" 
l10n="U"><emph>Number</emph> and <emph>Shift</emph> are rounded down to 
integers before the operation. A <emph>Number</emph> that is negative after 
rounding down, greater than 2^48 - 1, or not finite returns an error (Err:502), 
as does a <emph>Shift</emph> that is not finite.</paragraph>
 <paragraph role="paragraph" id="par_id3160512" xml-lang="en-US" 
l10n="U">Example: decimal 1 is binary <quote>1</quote>. BITLSHIFT(1; 2) shifts 
left by 2, giving binary <quote>100</quote>, which is decimal 4.</paragraph>
 <paragraph role="heading" id="hd_id3160513" xml-lang="en-US" level="3" 
l10n="U">Example</paragraph>
 <paragraph role="paragraph" id="par_id3160514" xml-lang="en-US" l10n="U"><item 
type="input">=BITLSHIFT(1; 2)</item> returns 4.</paragraph>
diff --git a/main/helpcontent2/source/text/scalc/01/func_bitor.xhp 
b/main/helpcontent2/source/text/scalc/01/func_bitor.xhp
index cea6319a27..985a8b45b5 100644
--- a/main/helpcontent2/source/text/scalc/01/func_bitor.xhp
+++ b/main/helpcontent2/source/text/scalc/01/func_bitor.xhp
@@ -41,7 +41,7 @@
 <paragraph role="code" id="par_id3160305" xml-lang="en-US" 
l10n="U">BITOR(Number1; Number2)</paragraph>
 <paragraph role="paragraph" id="par_id3160306" xml-lang="en-US" 
l10n="U"><emph>Number1</emph> and <emph>Number2</emph> are integers greater 
than or equal to 0 and less than 2^48 (281474976710656).</paragraph>
 <paragraph role="heading" id="hd_id3160307" xml-lang="en-US" level="3" 
l10n="U">Remarks</paragraph>
-<paragraph role="paragraph" id="par_id3160308" xml-lang="en-US" 
l10n="U">Arguments are truncated to integers before the operation. Non-integer, 
negative, or out-of-range values return an error (Err:502).</paragraph>
+<paragraph role="paragraph" id="par_id3160308" xml-lang="en-US" 
l10n="U">Arguments are rounded down to integers before the operation. Values 
that are negative after rounding down, greater than 2^48 - 1, or not finite 
return an error (Err:502).</paragraph>
 <paragraph role="paragraph" id="par_id3160309" xml-lang="en-US" 
l10n="U">Example: decimal 6 is binary <quote>110</quote>, decimal 3 is binary 
<quote>011</quote>. BITOR(6; 3) returns 7 (binary 
<quote>111</quote>).</paragraph>
 <paragraph role="heading" id="hd_id3160310" xml-lang="en-US" level="3" 
l10n="U">Example</paragraph>
 <paragraph role="paragraph" id="par_id3160311" xml-lang="en-US" l10n="U"><item 
type="input">=BITOR(6; 3)</item> returns 7.</paragraph>
diff --git a/main/helpcontent2/source/text/scalc/01/func_bitrshift.xhp 
b/main/helpcontent2/source/text/scalc/01/func_bitrshift.xhp
index 68a023ba55..93f1929524 100644
--- a/main/helpcontent2/source/text/scalc/01/func_bitrshift.xhp
+++ b/main/helpcontent2/source/text/scalc/01/func_bitrshift.xhp
@@ -44,7 +44,7 @@
 <paragraph role="heading" id="hd_id3160608" xml-lang="en-US" level="3" 
l10n="U">Remarks</paragraph>
 <paragraph role="paragraph" id="par_id3160609" xml-lang="en-US" l10n="U">If 
<emph>Shift</emph> is 0, <emph>Number</emph> is returned unchanged.</paragraph>
 <paragraph role="paragraph" id="par_id3160610" xml-lang="en-US" l10n="U">If 
<emph>Shift</emph> is greater than or equal to 64 (or less than or equal to 
-64), the result is 0.</paragraph>
-<paragraph role="paragraph" id="par_id3160611" xml-lang="en-US" 
l10n="U"><emph>Number</emph> is truncated to an integer before the operation. 
Non-integer, negative, or out-of-range values for <emph>Number</emph>, or 
non-finite values for <emph>Shift</emph>, return an error (Err:502).</paragraph>
+<paragraph role="paragraph" id="par_id3160611" xml-lang="en-US" 
l10n="U"><emph>Number</emph> and <emph>Shift</emph> are rounded down to 
integers before the operation. A <emph>Number</emph> that is negative after 
rounding down, greater than 2^48 - 1, or not finite returns an error (Err:502), 
as does a <emph>Shift</emph> that is not finite.</paragraph>
 <paragraph role="paragraph" id="par_id3160612" xml-lang="en-US" 
l10n="U">Example: decimal 8 is binary <quote>1000</quote>. BITRSHIFT(8; 2) 
shifts right by 2, giving binary <quote>10</quote>, which is decimal 
2.</paragraph>
 <paragraph role="heading" id="hd_id3160613" xml-lang="en-US" level="3" 
l10n="U">Example</paragraph>
 <paragraph role="paragraph" id="par_id3160614" xml-lang="en-US" l10n="U"><item 
type="input">=BITRSHIFT(8; 2)</item> returns 2.</paragraph>
diff --git a/main/helpcontent2/source/text/scalc/01/func_bitxor.xhp 
b/main/helpcontent2/source/text/scalc/01/func_bitxor.xhp
index c7a064eacb..a7a330dd63 100644
--- a/main/helpcontent2/source/text/scalc/01/func_bitxor.xhp
+++ b/main/helpcontent2/source/text/scalc/01/func_bitxor.xhp
@@ -41,7 +41,7 @@
 <paragraph role="code" id="par_id3160405" xml-lang="en-US" 
l10n="U">BITXOR(Number1; Number2)</paragraph>
 <paragraph role="paragraph" id="par_id3160406" xml-lang="en-US" 
l10n="U"><emph>Number1</emph> and <emph>Number2</emph> are integers greater 
than or equal to 0 and less than 2^48 (281474976710656).</paragraph>
 <paragraph role="heading" id="hd_id3160407" xml-lang="en-US" level="3" 
l10n="U">Remarks</paragraph>
-<paragraph role="paragraph" id="par_id3160408" xml-lang="en-US" 
l10n="U">Arguments are truncated to integers before the operation. Non-integer, 
negative, or out-of-range values return an error (Err:502).</paragraph>
+<paragraph role="paragraph" id="par_id3160408" xml-lang="en-US" 
l10n="U">Arguments are rounded down to integers before the operation. Values 
that are negative after rounding down, greater than 2^48 - 1, or not finite 
return an error (Err:502).</paragraph>
 <paragraph role="paragraph" id="par_id3160409" xml-lang="en-US" 
l10n="U">Example: decimal 6 is binary <quote>110</quote>, decimal 3 is binary 
<quote>011</quote>. BITXOR(6; 3) returns 5 (binary 
<quote>101</quote>).</paragraph>
 <paragraph role="heading" id="hd_id3160410" xml-lang="en-US" level="3" 
l10n="U">Example</paragraph>
 <paragraph role="paragraph" id="par_id3160411" xml-lang="en-US" l10n="U"><item 
type="input">=BITXOR(6; 3)</item> returns 5.</paragraph>
diff --git a/main/helpcontent2/source/text/scalc/01/func_ifna.xhp 
b/main/helpcontent2/source/text/scalc/01/func_ifna.xhp
index 0f1adaace9..edfef5e486 100644
--- a/main/helpcontent2/source/text/scalc/01/func_ifna.xhp
+++ b/main/helpcontent2/source/text/scalc/01/func_ifna.xhp
@@ -47,7 +47,7 @@
 <paragraph role="paragraph" id="par_id3160010" xml-lang="en-US" l10n="U">When 
<emph>Value</emph> is a matrix, only matrix elements containing #N/A are 
replaced by <emph>Alternative</emph>; all other elements pass through 
unchanged.</paragraph>
 <paragraph role="heading" id="hd_id3160011" xml-lang="en-US" level="3" 
l10n="U">Example</paragraph>
 <paragraph role="paragraph" id="par_id3160012" xml-lang="en-US" l10n="U"><item 
type="input">=IFNA(VLOOKUP("zzz";A1:B10;2;0); "Not found")</item> returns 
<quote>Not found</quote> when the lookup value is not present and produces 
#N/A.</paragraph>
-<paragraph role="paragraph" id="par_id3160013" xml-lang="en-US" l10n="U"><item 
type="input">=IFNA(1/0; 0)</item> returns Err:502 (division by zero) because 
IFNA does not catch errors other than #N/A.</paragraph>
+<paragraph role="paragraph" id="par_id3160013" xml-lang="en-US" l10n="U"><item 
type="input">=IFNA(1/0; 0)</item> returns #DIV/0! because IFNA does not catch 
errors other than #N/A.</paragraph>
 <embed href="text/shared/00/00000001.xhp#siehe"/>
 <paragraph role="paragraph" id="par_id3160014" xml-lang="en-US" l10n="U"><link 
href="text/scalc/01/04060104.xhp#isna" name="ISNA">ISNA</link>.</paragraph>
 </body>
diff --git a/main/helpcontent2/source/text/scalc/01/func_skewp.xhp 
b/main/helpcontent2/source/text/scalc/01/func_skewp.xhp
index 05b65fd971..24e118412e 100644
--- a/main/helpcontent2/source/text/scalc/01/func_skewp.xhp
+++ b/main/helpcontent2/source/text/scalc/01/func_skewp.xhp
@@ -43,7 +43,7 @@
 <paragraph role="paragraph" id="par_id3160106" xml-lang="en-US" 
l10n="U"><emph>Number1, Number2, ... Number30</emph> are up to 30 numerical 
values or ranges representing the entire population.</paragraph>
 <paragraph role="heading" id="hd_id3160107" xml-lang="en-US" level="3" 
l10n="U">Remarks</paragraph>
 <paragraph role="paragraph" id="par_id3160108" xml-lang="en-US" l10n="U">SKEWP 
calculates <emph>population</emph> skewness, using the population standard 
deviation (dividing by N). Use <link href="text/scalc/01/04060185.xhp#skew" 
name="SKEW">SKEW</link> for <emph>sample</emph> skewness, which uses the sample 
standard deviation (dividing by N-1).</paragraph>
-<paragraph role="paragraph" id="par_id3160109" xml-lang="en-US" l10n="U">Text 
and empty cells within referenced ranges are skipped. Errors encountered during 
reference iteration propagate and cause the function to return an error. Scalar 
text arguments cause an error (Err:502). At least one numeric value is 
required.</paragraph>
+<paragraph role="paragraph" id="par_id3160109" xml-lang="en-US" l10n="U">Text 
and empty cells within referenced ranges are skipped. Errors encountered during 
reference iteration propagate and cause the function to return an error. Scalar 
text arguments cause an error (Err:504). At least one numeric value is 
required.</paragraph>
 <paragraph role="paragraph" id="par_id3160110" xml-lang="en-US" l10n="U">If 
the population variance is zero (for example, all values are identical, or only 
one value is given), the result is undefined and the function returns an 
error.</paragraph>
 <paragraph role="heading" id="hd_id3160111" xml-lang="en-US" level="3" 
l10n="U">Example</paragraph>
 <paragraph role="paragraph" id="par_id3160112" xml-lang="en-US" l10n="U"><item 
type="input">=SKEWP(1; 2; 3; 4; 5)</item> returns approximately <item 
type="input">0</item> because the distribution is symmetric.</paragraph>

Reply via email to