summaryrefslogtreecommitdiff
path: root/mpq
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2018-05-16 22:24:06 +0200
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2018-05-16 22:24:06 +0200
commit26dd5690f103c0e288348b792207dd3a24b13031 (patch)
treeaa7fd1467b9818c30e81c6db1beb65a4baf14326 /mpq
parentab5b1149b4415b23dd12359290affe121ae331aa (diff)
downloadgmp-26dd5690f103c0e288348b792207dd3a24b13031.tar.gz
Copyright years
Diffstat (limited to 'mpq')
-rw-r--r--mpq/clear.c3
-rw-r--r--mpq/clears.c2
-rw-r--r--mpq/div.c3
-rw-r--r--mpq/get_d.c5
-rw-r--r--mpq/init.c3
-rw-r--r--mpq/inp_str.c2
-rw-r--r--mpq/md_2exp.c2
-rw-r--r--mpq/set_d.c3
-rw-r--r--mpq/set_f.c2
-rw-r--r--mpq/set_si.c2
-rw-r--r--mpq/set_str.c2
-rw-r--r--mpq/set_ui.c2
-rw-r--r--mpq/set_z.c2
13 files changed, 17 insertions, 16 deletions
diff --git a/mpq/clear.c b/mpq/clear.c
index 89c7933c6..65e899f3c 100644
--- a/mpq/clear.c
+++ b/mpq/clear.c
@@ -1,6 +1,7 @@
/* mpq_clear -- free the space occupied by an mpq_t.
-Copyright 1991, 1994, 1995, 2000, 2001, 2015 Free Software Foundation, Inc.
+Copyright 1991, 1994, 1995, 2000, 2001, 2015, 2018 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/clears.c b/mpq/clears.c
index ad1cf5e0e..68c6ad3a1 100644
--- a/mpq/clears.c
+++ b/mpq/clears.c
@@ -1,6 +1,6 @@
/* mpq_clears() -- Clear multiple mpq_t variables.
-Copyright 2009, 2014, 2015 Free Software Foundation, Inc.
+Copyright 2009, 2014, 2015, 2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/div.c b/mpq/div.c
index 32d77b645..3bd97264d 100644
--- a/mpq/div.c
+++ b/mpq/div.c
@@ -1,6 +1,7 @@
/* mpq_div -- divide two rational numbers.
-Copyright 1991, 1994-1996, 2000, 2001, 2015 Free Software Foundation, Inc.
+Copyright 1991, 1994-1996, 2000, 2001, 2015, 2018 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/get_d.c b/mpq/get_d.c
index f90aecf9e..4d9779d85 100644
--- a/mpq/get_d.c
+++ b/mpq/get_d.c
@@ -1,6 +1,6 @@
/* double mpq_get_d (mpq_t src) -- mpq to double, rounding towards zero.
-Copyright 1995, 1996, 2001-2005, 2018 Free Software Foundation, Inc.
+Copyright 1995, 1996, 2001-2005, 2018, 2019 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -74,9 +74,6 @@ see https://www.gnu.org/licenses/. */
If/when mpn_tdiv_qr supports its qxn parameter we can use that instead of
padding n with zeros in temporary space.
- If/when a quotient-only division exists it can be used here immediately.
- remp is only to satisfy mpn_tdiv_qr, the remainder is not used.
-
Alternatives:
An alternative algorithm, that may be faster:
diff --git a/mpq/init.c b/mpq/init.c
index 2bde2588e..b00694578 100644
--- a/mpq/init.c
+++ b/mpq/init.c
@@ -1,6 +1,7 @@
/* mpq_init -- Make a new rational number with value 0/1.
-Copyright 1991, 1994, 1995, 2000-2002, 2015 Free Software Foundation, Inc.
+Copyright 1991, 1994, 1995, 2000-2002, 2015, 2018 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/inp_str.c b/mpq/inp_str.c
index b1fbbc9e1..b7662bc91 100644
--- a/mpq/inp_str.c
+++ b/mpq/inp_str.c
@@ -1,6 +1,6 @@
/* mpq_inp_str -- read an mpq from a FILE.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/md_2exp.c b/mpq/md_2exp.c
index 76f1f4436..b3378b3fc 100644
--- a/mpq/md_2exp.c
+++ b/mpq/md_2exp.c
@@ -1,7 +1,7 @@
/* mpq_mul_2exp, mpq_div_2exp - multiply or divide by 2^N */
/*
-Copyright 2000, 2002, 2012 Free Software Foundation, Inc.
+Copyright 2000, 2002, 2012, 2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/set_d.c b/mpq/set_d.c
index 9d900d8d6..3f3fab0b7 100644
--- a/mpq/set_d.c
+++ b/mpq/set_d.c
@@ -1,6 +1,7 @@
/* mpq_set_d(mpq_t q, double d) -- Set q to d without rounding.
-Copyright 2000, 2002, 2003, 2012, 2014 Free Software Foundation, Inc.
+Copyright 2000, 2002, 2003, 2012, 2014, 2018 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/set_f.c b/mpq/set_f.c
index 14d4d0537..581d4fc92 100644
--- a/mpq/set_f.c
+++ b/mpq/set_f.c
@@ -1,6 +1,6 @@
/* mpq_set_f -- set an mpq from an mpf.
-Copyright 2000-2002 Free Software Foundation, Inc.
+Copyright 2000-2002, 2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/set_si.c b/mpq/set_si.c
index dbaa85a51..e51406bfd 100644
--- a/mpq/set_si.c
+++ b/mpq/set_si.c
@@ -1,7 +1,7 @@
/* mpq_set_si(dest,ulong_num,ulong_den) -- Set DEST to the rational number
ULONG_NUM/ULONG_DEN.
-Copyright 1991, 1994, 1995, 2001, 2003 Free Software Foundation, Inc.
+Copyright 1991, 1994, 1995, 2001, 2003, 2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/set_str.c b/mpq/set_str.c
index a176c251e..664bb2d04 100644
--- a/mpq/set_str.c
+++ b/mpq/set_str.c
@@ -1,6 +1,6 @@
/* mpq_set_str -- string to mpq conversion.
-Copyright 2001, 2002, 2015 Free Software Foundation, Inc.
+Copyright 2001, 2002, 2015, 2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/set_ui.c b/mpq/set_ui.c
index ed01a1bc3..db85d976f 100644
--- a/mpq/set_ui.c
+++ b/mpq/set_ui.c
@@ -1,7 +1,7 @@
/* mpq_set_ui(dest,ulong_num,ulong_den) -- Set DEST to the rational number
ULONG_NUM/ULONG_DEN.
-Copyright 1991, 1994, 1995, 2001-2003 Free Software Foundation, Inc.
+Copyright 1991, 1994, 1995, 2001-2003, 2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/set_z.c b/mpq/set_z.c
index e60174cdd..8309c9324 100644
--- a/mpq/set_z.c
+++ b/mpq/set_z.c
@@ -1,6 +1,6 @@
/* mpq_set_z (dest,src) -- Set DEST to SRC.
-Copyright 1996, 2001, 2012, 2015 Free Software Foundation, Inc.
+Copyright 1996, 2001, 2012, 2015, 2018 Free Software Foundation, Inc.
This file is part of the GNU MP Library.