annotate etc/unicode/unicode-consortium/COPYING @ 5911:48386fd60fd0

GMP functions that take doubles choke on non-finite values, avoid that. src/ChangeLog addition: 2015-05-10 Aidan Kehoe <kehoea@parhasard.net> * floatfns.c (double_to_integer): Rename this from float_to_int to fit our newer, bignum-compatible terminology. GMP can signal SIGFPE when asked to turn NaN or infinity into a bignum, and we're not prepared to handle that signal if the OS float library routines don't do that, so check for those values explicitly. * floatfns.c (ceiling_two_float): * floatfns.c (ceiling_one_float): * floatfns.c (floor_two_float): * floatfns.c (floor_one_float): * floatfns.c (round_two_float): * floatfns.c (round_one_float): * floatfns.c (truncate_two_float): * floatfns.c (truncate_one_float): Call double_to_integer() with its new name. * number.c: Don't use the {bignum,ratio,bigfloat}_set_double functions directly here, with GMP they can choke when handed non-finite C doubles, call Ftruncate() and the new float_to_bigfloat() from floatfns.c. Maybe we should extend number-gmp.c with GMP-specific implementations that check for non-finite values. tests/ChangeLog addition: 2015-05-10 Aidan Kehoe <kehoea@parhasard.net> * automated/lisp-tests.el: Backslash a few parentheses in the first column for the sake of fontification. * automated/lisp-tests.el: Check that the rounding functions signal Lisp errors correctly when handed positive and negative infinity and NaN.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 10 May 2015 19:07:09 +0100
parents dda09e1190f5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3803
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
1 COPYING for Unicode Consortium mapping files in XEmacs.
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
2
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
3 Copyright (c) 2007 The Free Software Foundation, Inc.
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
4
5414
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
5 This file is part of XEmacs.
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
6
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
7 XEmacs is free software: you can redistribute it and/or modify it
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
8 under the terms of the GNU General Public License as published by the
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
9 Free Software Foundation, either version 3 of the License, or (at your
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
10 option) any later version.
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
11
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
15 for more details.
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
16
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
17 You should have received a copy of the GNU General Public License
dda09e1190f5 Converted to GPLv3 plain text GPLv2 files in etc/unicode
Mats Lidell <matsl@xemacs.org>
parents: 3803
diff changeset
18 along with XEmacs. If not, see <http://www.gnu.org/licenses/>.
3803
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
19
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
20 Other files in this directory are subject to O'Reilly Media and
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
21 Unicode Consortium licenses. The files oreilly.html and
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
22 unicode-consortium.html are not part of XEmacs; they are property of
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
23 O'Reilly Media, Inc. and Unicode, Inc. respectively. They are
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
24 included here for informational purposes only, and may be
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
25 redistributed in verbatim form only. These files were downloaded from
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
26 those vendors on January 28, 2007. If you can't read them easily
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
27 (they probably require network connections for full functionality),
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
28 report a bug to XEmacs at <xemacs-beta@xemacs.org>.
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
29
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
30 The following files were copied from locations below
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
31 http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
32 and are covered by the Unicode Consortium copying permission contained
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
33 in http://www.unicode.org/copying.html. A copy of that notice is in
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
34 unicode-consortium.html in this directory. We believe this notice
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
35 supersedes the following notice which appears in the files:
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
36
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
37 Recipient is granted the right to make copies in any form for
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
38 internal distribution and to freely use the information supplied
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
39 in the creation of products supporting Unicode. Unicode, Inc.
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
40 specifically excludes the right to re-distribute this file directly
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
41 to third parties or other organizations whether for profit or not.
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
42
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
43 We are consulting the Unicode Consortium for confirmation.
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
44
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
45 BIG5.TXT CNS11643.TXT
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
46 JIS0201.TXT JIS0208.TXT JIS0212.TXT SHIFTJIS.TXT
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
47 JOHAB.TXT KSX1001.TXT OLD5601.TXT
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
48
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
49 The following file was copied from
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
50 http://examples.oreilly.com/cjkvinfo/unicode/gb12345-90.txt
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
51 and is covered by the O'Reilly Media copying policy in
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
52 http://www.oreilly.com/pub/a/oreilly/ask_tim/2001/codepolicy.html.
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
53 A copy of that notice is in oreilly.html in this directory. This data
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
54 file is is an appendix to the book *Chinese, Japanese, Korean, and
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
55 Vietnamese Information Processing* by Ken Lunde, published by O'Reilly
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
56 Media (ISBN-13 978-1565922242).
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
57
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
58 GB12345.TXT
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
59
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
60 The following files are taken from locations below
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
61 http://www.unicode.org/Public/MAPPINGS/
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
62 and are covered by the conditions in Exhibit 1 of unicode.html in this
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
63 directory.
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
64
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
65 8859-1.TXT 8859-10.TXT 8859-13.TXT 8859-14.TXT 8859-15.TXT 8859-16.TXT
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
66 8859-2.TXT 8859-3.TXT 8859-4.TXT 8859-5.TXT 8859-6.TXT 8859-7.TXT
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
67 8859-8.TXT 8859-9.TXT CP1250.TXT CP1251.TXT CP1252.TXT CP1253.TXT
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
68 CP1254.TXT CP1255.TXT CP1256.TXT CP1257.TXT CP1258.TXT CP874.TXT
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
69 CP932.TXT CP936.TXT CP949.TXT CP950.TXT GB2312.TXT HANGUL.TXT
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
70 KOI8-R.TXT KSC5601.TXT
e51807f9eedd [xemacs-hg @ 2007-01-27 18:28:57 by stephent]
stephent
parents:
diff changeset
71