summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--mpf/sqrt_ui.c4
-rw-r--r--tests/mpf/t-sqrt_ui.c2
3 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 2675cd6e8..902ba613c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,8 +2,11 @@
* mpf/cmp_ui.c: Use macros, remove branches, correct nails.
* mpf/cmp_si.c: Likewise.
- * mpf/int_p.c: Use a simpler loop to ignore zero limbs.
+ * mpf/int_p.c: Use a simpler loop to ignore zero limbs.
+ * mpf/sqrt_ui.c: Special case for sqrt(1).
+ * tests/mpf/t-sqrt_ui.c: Test special cases.
+
2015-05-28 Niels Möller <nisse@lysator.liu.se>
* doc/gmp.texi (Low-level Functions): Document mpn_divexact_1 and
diff --git a/mpf/sqrt_ui.c b/mpf/sqrt_ui.c
index 01c6f8920..f390e2425 100644
--- a/mpf/sqrt_ui.c
+++ b/mpf/sqrt_ui.c
@@ -1,7 +1,7 @@
/* mpf_sqrt_ui -- Compute the square root of an unsigned integer.
-Copyright 1993, 1994, 1996, 2000, 2001, 2004, 2005 Free Software Foundation,
-Inc.
+Copyright 1993, 1994, 1996, 2000, 2001, 2004, 2005, 2015 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpf/t-sqrt_ui.c b/tests/mpf/t-sqrt_ui.c
index 25938d7e0..72b32e564 100644
--- a/tests/mpf/t-sqrt_ui.c
+++ b/tests/mpf/t-sqrt_ui.c
@@ -1,6 +1,6 @@
/* Test mpf_sqrt_ui.
-Copyright 2004 Free Software Foundation, Inc.
+Copyright 2004, 2015 Free Software Foundation, Inc.
This file is part of the GNU MP Library test suite.