You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/01/22 15:56:00 UTC
(commons-numbers) 01/02: Add missing license headers.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git
commit 2a4ccb1fbc0ab54c9085b8e1910b5623afdd662a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jan 22 10:55:18 2026 -0500
Add missing license headers.
---
commons-numbers-complex/src/test/resources/data/acos.txt | 16 ++++++++++++++++
.../src/test/resources/data/acosh.txt | 16 ++++++++++++++++
.../src/test/resources/data/asinh.txt | 16 ++++++++++++++++
.../src/test/resources/data/atanh.txt | 16 ++++++++++++++++
commons-numbers-complex/src/test/resources/data/cosh.txt | 16 ++++++++++++++++
.../src/test/resources/data/divide.txt | 16 ++++++++++++++++
commons-numbers-complex/src/test/resources/data/exp.txt | 16 ++++++++++++++++
commons-numbers-complex/src/test/resources/data/log.txt | 16 ++++++++++++++++
.../src/test/resources/data/multiply.txt | 16 ++++++++++++++++
commons-numbers-complex/src/test/resources/data/pow.txt | 16 ++++++++++++++++
commons-numbers-complex/src/test/resources/data/sinh.txt | 16 ++++++++++++++++
commons-numbers-complex/src/test/resources/data/sqrt.txt | 16 ++++++++++++++++
commons-numbers-complex/src/test/resources/data/tanh.txt | 16 ++++++++++++++++
13 files changed, 208 insertions(+)
diff --git a/commons-numbers-complex/src/test/resources/data/acos.txt b/commons-numbers-complex/src/test/resources/data/acos.txt
index 91d4f4a0..f03f3fdf 100644
--- a/commons-numbers-complex/src/test/resources/data/acos.txt
+++ b/commons-numbers-complex/src/test/resources/data/acos.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) acos(a + b i)
0.0 0.0 1.5707963267948966 -0.0
0.0 0.5 1.5707963267948966 -0.48121182505960347
diff --git a/commons-numbers-complex/src/test/resources/data/acosh.txt b/commons-numbers-complex/src/test/resources/data/acosh.txt
index d4e4cf6c..8d2c0ee1 100644
--- a/commons-numbers-complex/src/test/resources/data/acosh.txt
+++ b/commons-numbers-complex/src/test/resources/data/acosh.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) acosh(a + b i)
0.0 0.0 0.0 1.5707963267948966
0.0 0.5 0.48121182505960347 1.5707963267948966
diff --git a/commons-numbers-complex/src/test/resources/data/asinh.txt b/commons-numbers-complex/src/test/resources/data/asinh.txt
index 6e9706f9..8ebe04cc 100644
--- a/commons-numbers-complex/src/test/resources/data/asinh.txt
+++ b/commons-numbers-complex/src/test/resources/data/asinh.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) asinh(a + b i)
0.0 0.0 0.0 0.0
0.0 0.5 0.0 0.52359877559829893
diff --git a/commons-numbers-complex/src/test/resources/data/atanh.txt b/commons-numbers-complex/src/test/resources/data/atanh.txt
index 27243f16..980a3ad6 100644
--- a/commons-numbers-complex/src/test/resources/data/atanh.txt
+++ b/commons-numbers-complex/src/test/resources/data/atanh.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) atanh(a + b i)
0.0 0.0 0.0 0.0
0.0 0.5 0.0 0.46364760900080609
diff --git a/commons-numbers-complex/src/test/resources/data/cosh.txt b/commons-numbers-complex/src/test/resources/data/cosh.txt
index d4a164f1..f71c2960 100644
--- a/commons-numbers-complex/src/test/resources/data/cosh.txt
+++ b/commons-numbers-complex/src/test/resources/data/cosh.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) cosh(a + b i)
0.0 0.0 1 0.0
0.0 0.5 0.87758256189037276 0.0
diff --git a/commons-numbers-complex/src/test/resources/data/divide.txt b/commons-numbers-complex/src/test/resources/data/divide.txt
index 6b3314ff..280ef376 100644
--- a/commons-numbers-complex/src/test/resources/data/divide.txt
+++ b/commons-numbers-complex/src/test/resources/data/divide.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) (u + v i) (a + b i).divide(u + v i)
2 3 5 4 0.53658536585365868 0.17073170731707318
5 4 2 3 1.6923076923076923 -0.53846153846153855
diff --git a/commons-numbers-complex/src/test/resources/data/exp.txt b/commons-numbers-complex/src/test/resources/data/exp.txt
index a643d3b3..70b16849 100644
--- a/commons-numbers-complex/src/test/resources/data/exp.txt
+++ b/commons-numbers-complex/src/test/resources/data/exp.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) exp(a + b i)
0.0 0.0 1 0.0
0.0 0.5 0.87758256189037276 0.47942553860420301
diff --git a/commons-numbers-complex/src/test/resources/data/log.txt b/commons-numbers-complex/src/test/resources/data/log.txt
index e561f808..31139c01 100644
--- a/commons-numbers-complex/src/test/resources/data/log.txt
+++ b/commons-numbers-complex/src/test/resources/data/log.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) log(a + b i)
0.0 0.0 -Infinity 0.0
0.0 0.5 -0.69314718055994529 1.5707963267948966
diff --git a/commons-numbers-complex/src/test/resources/data/multiply.txt b/commons-numbers-complex/src/test/resources/data/multiply.txt
index 50ebe14a..3a8159c4 100644
--- a/commons-numbers-complex/src/test/resources/data/multiply.txt
+++ b/commons-numbers-complex/src/test/resources/data/multiply.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) (u + v i) (a + b i).multiply(u + v i)
2 3 5 4 -2 23
5 4 2 3 -2 23
diff --git a/commons-numbers-complex/src/test/resources/data/pow.txt b/commons-numbers-complex/src/test/resources/data/pow.txt
index c06eb024..d013c6e1 100644
--- a/commons-numbers-complex/src/test/resources/data/pow.txt
+++ b/commons-numbers-complex/src/test/resources/data/pow.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) (u + v i) (a + b i).pow(u + v i)
2 3 5 4 -9.7367145095888414 -6.9377513609299868
5 4 2 3 4.3549103166315382 3.2198331430252156
diff --git a/commons-numbers-complex/src/test/resources/data/sinh.txt b/commons-numbers-complex/src/test/resources/data/sinh.txt
index 317c5327..f35bc86e 100644
--- a/commons-numbers-complex/src/test/resources/data/sinh.txt
+++ b/commons-numbers-complex/src/test/resources/data/sinh.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) sinh(a + b i)
0.0 0.0 0.0 0.0
0.0 0.5 0.0 0.47942553860420301
diff --git a/commons-numbers-complex/src/test/resources/data/sqrt.txt b/commons-numbers-complex/src/test/resources/data/sqrt.txt
index 1224fa93..123b8d06 100644
--- a/commons-numbers-complex/src/test/resources/data/sqrt.txt
+++ b/commons-numbers-complex/src/test/resources/data/sqrt.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) sqrt(a + b i)
0.0 0.0 0.0 0.0
0.0 0.5 0.5 0.5
diff --git a/commons-numbers-complex/src/test/resources/data/tanh.txt b/commons-numbers-complex/src/test/resources/data/tanh.txt
index 20d19a36..df295a66 100644
--- a/commons-numbers-complex/src/test/resources/data/tanh.txt
+++ b/commons-numbers-complex/src/test/resources/data/tanh.txt
@@ -1,3 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# (a + b i) tanh(a + b i)
0.0 0.0 0.0 0.0
0.0 0.5 0.0 0.54630248984379048