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

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git

commit 0bbab44b712ef4b3ed08e2dab3d56cbc750ee193
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Thu Jul 4 16:11:45 2024 +0100

    Spotbugs exclusions for the core module
---
 src/conf/spotbugs/spotbugs-exclude-filter.xml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/conf/spotbugs/spotbugs-exclude-filter.xml 
b/src/conf/spotbugs/spotbugs-exclude-filter.xml
index 70028b17..fdaca752 100644
--- a/src/conf/spotbugs/spotbugs-exclude-filter.xml
+++ b/src/conf/spotbugs/spotbugs-exclude-filter.xml
@@ -42,13 +42,19 @@
     <BugPattern name="FE_FLOATING_POINT_EQUALITY"/>
   </Match>
   <Match>
-    <Class name="org.apache.commons.numbers.ext.DD"/>
+    <Class name="org.apache.commons.numbers.core.DD"/>
     <Or>
-      <Method name="longValue"/>
       <Method name="floorOrCeil"/>
+      <Method name="frexp"/>
+      <Method name="pow"/>
     </Or>
     <BugPattern name="FE_FLOATING_POINT_EQUALITY"/>
   </Match>
+  <Match>
+    <Class name="org.apache.commons.numbers.core.DDMath"/>
+    <Method name="pow"/>
+    <BugPattern name="FE_FLOATING_POINT_EQUALITY"/>
+  </Match>
 
   <Match>
     <Or>

Reply via email to