Mercurial > hg > xemacs-beta
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 |
rev | line source |
---|---|
3803 | 1 COPYING for Unicode Consortium mapping files in XEmacs. |
2 | |
3 Copyright (c) 2007 The Free Software Foundation, Inc. | |
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 | 19 |
20 Other files in this directory are subject to O'Reilly Media and | |
21 Unicode Consortium licenses. The files oreilly.html and | |
22 unicode-consortium.html are not part of XEmacs; they are property of | |
23 O'Reilly Media, Inc. and Unicode, Inc. respectively. They are | |
24 included here for informational purposes only, and may be | |
25 redistributed in verbatim form only. These files were downloaded from | |
26 those vendors on January 28, 2007. If you can't read them easily | |
27 (they probably require network connections for full functionality), | |
28 report a bug to XEmacs at <xemacs-beta@xemacs.org>. | |
29 | |
30 The following files were copied from locations below | |
31 http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/ | |
32 and are covered by the Unicode Consortium copying permission contained | |
33 in http://www.unicode.org/copying.html. A copy of that notice is in | |
34 unicode-consortium.html in this directory. We believe this notice | |
35 supersedes the following notice which appears in the files: | |
36 | |
37 Recipient is granted the right to make copies in any form for | |
38 internal distribution and to freely use the information supplied | |
39 in the creation of products supporting Unicode. Unicode, Inc. | |
40 specifically excludes the right to re-distribute this file directly | |
41 to third parties or other organizations whether for profit or not. | |
42 | |
43 We are consulting the Unicode Consortium for confirmation. | |
44 | |
45 BIG5.TXT CNS11643.TXT | |
46 JIS0201.TXT JIS0208.TXT JIS0212.TXT SHIFTJIS.TXT | |
47 JOHAB.TXT KSX1001.TXT OLD5601.TXT | |
48 | |
49 The following file was copied from | |
50 http://examples.oreilly.com/cjkvinfo/unicode/gb12345-90.txt | |
51 and is covered by the O'Reilly Media copying policy in | |
52 http://www.oreilly.com/pub/a/oreilly/ask_tim/2001/codepolicy.html. | |
53 A copy of that notice is in oreilly.html in this directory. This data | |
54 file is is an appendix to the book *Chinese, Japanese, Korean, and | |
55 Vietnamese Information Processing* by Ken Lunde, published by O'Reilly | |
56 Media (ISBN-13 978-1565922242). | |
57 | |
58 GB12345.TXT | |
59 | |
60 The following files are taken from locations below | |
61 http://www.unicode.org/Public/MAPPINGS/ | |
62 and are covered by the conditions in Exhibit 1 of unicode.html in this | |
63 directory. | |
64 | |
65 8859-1.TXT 8859-10.TXT 8859-13.TXT 8859-14.TXT 8859-15.TXT 8859-16.TXT | |
66 8859-2.TXT 8859-3.TXT 8859-4.TXT 8859-5.TXT 8859-6.TXT 8859-7.TXT | |
67 8859-8.TXT 8859-9.TXT CP1250.TXT CP1251.TXT CP1252.TXT CP1253.TXT | |
68 CP1254.TXT CP1255.TXT CP1256.TXT CP1257.TXT CP1258.TXT CP874.TXT | |
69 CP932.TXT CP936.TXT CP949.TXT CP950.TXT GB2312.TXT HANGUL.TXT | |
70 KOI8-R.TXT KSC5601.TXT | |
71 |