passagemath-gap-pkg-float 10.8.1a4__cp311-cp311-macosx_13_0_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of passagemath-gap-pkg-float might be problematic. Click here for more details.

Files changed (46) hide show
  1. gap/pkg/float/COPYING +340 -0
  2. gap/pkg/float/PackageInfo.g +109 -0
  3. gap/pkg/float/README.md +76 -0
  4. gap/pkg/float/THANKS +1 -0
  5. gap/pkg/float/TODO +9 -0
  6. gap/pkg/float/bin/x86_64-apple-darwin24-default64-kv10/float.so +0 -0
  7. gap/pkg/float/build-aux/compile +348 -0
  8. gap/pkg/float/build-aux/config.guess~ +1748 -0
  9. gap/pkg/float/build-aux/config.sub~ +1884 -0
  10. gap/pkg/float/build-aux/depcomp +791 -0
  11. gap/pkg/float/build-aux/install-sh +541 -0
  12. gap/pkg/float/build-aux/install-sh~ +541 -0
  13. gap/pkg/float/build-aux/ltmain.sh +11524 -0
  14. gap/pkg/float/build-aux/missing +215 -0
  15. gap/pkg/float/config.h.in +105 -0
  16. gap/pkg/float/init.g +51 -0
  17. gap/pkg/float/lib/cxsc.gi +604 -0
  18. gap/pkg/float/lib/float.gd +187 -0
  19. gap/pkg/float/lib/fplll.gi +27 -0
  20. gap/pkg/float/lib/mpc.gi +243 -0
  21. gap/pkg/float/lib/mpfi.gi +270 -0
  22. gap/pkg/float/lib/mpfr.gi +328 -0
  23. gap/pkg/float/lib/pickle.g +131 -0
  24. gap/pkg/float/lib/polynomial.gi +12 -0
  25. gap/pkg/float/lib/pslq.gi +431 -0
  26. gap/pkg/float/libtool +12190 -0
  27. gap/pkg/float/makedoc.g +11 -0
  28. gap/pkg/float/read.g +46 -0
  29. gap/pkg/float/tst/arithmetic.tst +35 -0
  30. gap/pkg/float/tst/fplll.tst +19 -0
  31. gap/pkg/float/tst/polynomials.tst +30 -0
  32. gap/pkg/float/tst/testall.g +63 -0
  33. passagemath_gap_pkg_float/.dylibs/libfplll.9.dylib +0 -0
  34. passagemath_gap_pkg_float/.dylibs/libgmp.10.dylib +0 -0
  35. passagemath_gap_pkg_float/.dylibs/libmpc.3.dylib +0 -0
  36. passagemath_gap_pkg_float/.dylibs/libmpfi.0.dylib +0 -0
  37. passagemath_gap_pkg_float/.dylibs/libmpfr.6.dylib +0 -0
  38. passagemath_gap_pkg_float/__init__.py +3 -0
  39. passagemath_gap_pkg_float-10.8.1a4.dist-info/METADATA +92 -0
  40. passagemath_gap_pkg_float-10.8.1a4.dist-info/METADATA.bak +93 -0
  41. passagemath_gap_pkg_float-10.8.1a4.dist-info/RECORD +46 -0
  42. passagemath_gap_pkg_float-10.8.1a4.dist-info/WHEEL +6 -0
  43. passagemath_gap_pkg_float-10.8.1a4.dist-info/top_level.txt +2 -0
  44. sage/all__sagemath_gap_pkg_float.py +1 -0
  45. sage/libs/all__sagemath_gap_pkg_float.py +1 -0
  46. sage/libs/gap_pkg_float.cpython-311-darwin.so +0 -0
@@ -0,0 +1,215 @@
1
+ #! /bin/sh
2
+ # Common wrapper for a few potentially missing GNU programs.
3
+
4
+ scriptversion=2018-03-07.03; # UTC
5
+
6
+ # Copyright (C) 1996-2021 Free Software Foundation, Inc.
7
+ # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
8
+
9
+ # This program is free software; you can redistribute it and/or modify
10
+ # it under the terms of the GNU General Public License as published by
11
+ # the Free Software Foundation; either version 2, or (at your option)
12
+ # any later version.
13
+
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
21
+
22
+ # As a special exception to the GNU General Public License, if you
23
+ # distribute this file as part of a program that contains a
24
+ # configuration script generated by Autoconf, you may include it under
25
+ # the same distribution terms that you use for the rest of that program.
26
+
27
+ if test $# -eq 0; then
28
+ echo 1>&2 "Try '$0 --help' for more information"
29
+ exit 1
30
+ fi
31
+
32
+ case $1 in
33
+
34
+ --is-lightweight)
35
+ # Used by our autoconf macros to check whether the available missing
36
+ # script is modern enough.
37
+ exit 0
38
+ ;;
39
+
40
+ --run)
41
+ # Back-compat with the calling convention used by older automake.
42
+ shift
43
+ ;;
44
+
45
+ -h|--h|--he|--hel|--help)
46
+ echo "\
47
+ $0 [OPTION]... PROGRAM [ARGUMENT]...
48
+
49
+ Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
50
+ to PROGRAM being missing or too old.
51
+
52
+ Options:
53
+ -h, --help display this help and exit
54
+ -v, --version output version information and exit
55
+
56
+ Supported PROGRAM values:
57
+ aclocal autoconf autoheader autom4te automake makeinfo
58
+ bison yacc flex lex help2man
59
+
60
+ Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
61
+ 'g' are ignored when checking the name.
62
+
63
+ Send bug reports to <bug-automake@gnu.org>."
64
+ exit $?
65
+ ;;
66
+
67
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
68
+ echo "missing $scriptversion (GNU Automake)"
69
+ exit $?
70
+ ;;
71
+
72
+ -*)
73
+ echo 1>&2 "$0: unknown '$1' option"
74
+ echo 1>&2 "Try '$0 --help' for more information"
75
+ exit 1
76
+ ;;
77
+
78
+ esac
79
+
80
+ # Run the given program, remember its exit status.
81
+ "$@"; st=$?
82
+
83
+ # If it succeeded, we are done.
84
+ test $st -eq 0 && exit 0
85
+
86
+ # Also exit now if we it failed (or wasn't found), and '--version' was
87
+ # passed; such an option is passed most likely to detect whether the
88
+ # program is present and works.
89
+ case $2 in --version|--help) exit $st;; esac
90
+
91
+ # Exit code 63 means version mismatch. This often happens when the user
92
+ # tries to use an ancient version of a tool on a file that requires a
93
+ # minimum version.
94
+ if test $st -eq 63; then
95
+ msg="probably too old"
96
+ elif test $st -eq 127; then
97
+ # Program was missing.
98
+ msg="missing on your system"
99
+ else
100
+ # Program was found and executed, but failed. Give up.
101
+ exit $st
102
+ fi
103
+
104
+ perl_URL=https://www.perl.org/
105
+ flex_URL=https://github.com/westes/flex
106
+ gnu_software_URL=https://www.gnu.org/software
107
+
108
+ program_details ()
109
+ {
110
+ case $1 in
111
+ aclocal|automake)
112
+ echo "The '$1' program is part of the GNU Automake package:"
113
+ echo "<$gnu_software_URL/automake>"
114
+ echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
115
+ echo "<$gnu_software_URL/autoconf>"
116
+ echo "<$gnu_software_URL/m4/>"
117
+ echo "<$perl_URL>"
118
+ ;;
119
+ autoconf|autom4te|autoheader)
120
+ echo "The '$1' program is part of the GNU Autoconf package:"
121
+ echo "<$gnu_software_URL/autoconf/>"
122
+ echo "It also requires GNU m4 and Perl in order to run:"
123
+ echo "<$gnu_software_URL/m4/>"
124
+ echo "<$perl_URL>"
125
+ ;;
126
+ esac
127
+ }
128
+
129
+ give_advice ()
130
+ {
131
+ # Normalize program name to check for.
132
+ normalized_program=`echo "$1" | sed '
133
+ s/^gnu-//; t
134
+ s/^gnu//; t
135
+ s/^g//; t'`
136
+
137
+ printf '%s\n' "'$1' is $msg."
138
+
139
+ configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
140
+ case $normalized_program in
141
+ autoconf*)
142
+ echo "You should only need it if you modified 'configure.ac',"
143
+ echo "or m4 files included by it."
144
+ program_details 'autoconf'
145
+ ;;
146
+ autoheader*)
147
+ echo "You should only need it if you modified 'acconfig.h' or"
148
+ echo "$configure_deps."
149
+ program_details 'autoheader'
150
+ ;;
151
+ automake*)
152
+ echo "You should only need it if you modified 'Makefile.am' or"
153
+ echo "$configure_deps."
154
+ program_details 'automake'
155
+ ;;
156
+ aclocal*)
157
+ echo "You should only need it if you modified 'acinclude.m4' or"
158
+ echo "$configure_deps."
159
+ program_details 'aclocal'
160
+ ;;
161
+ autom4te*)
162
+ echo "You might have modified some maintainer files that require"
163
+ echo "the 'autom4te' program to be rebuilt."
164
+ program_details 'autom4te'
165
+ ;;
166
+ bison*|yacc*)
167
+ echo "You should only need it if you modified a '.y' file."
168
+ echo "You may want to install the GNU Bison package:"
169
+ echo "<$gnu_software_URL/bison/>"
170
+ ;;
171
+ lex*|flex*)
172
+ echo "You should only need it if you modified a '.l' file."
173
+ echo "You may want to install the Fast Lexical Analyzer package:"
174
+ echo "<$flex_URL>"
175
+ ;;
176
+ help2man*)
177
+ echo "You should only need it if you modified a dependency" \
178
+ "of a man page."
179
+ echo "You may want to install the GNU Help2man package:"
180
+ echo "<$gnu_software_URL/help2man/>"
181
+ ;;
182
+ makeinfo*)
183
+ echo "You should only need it if you modified a '.texi' file, or"
184
+ echo "any other file indirectly affecting the aspect of the manual."
185
+ echo "You might want to install the Texinfo package:"
186
+ echo "<$gnu_software_URL/texinfo/>"
187
+ echo "The spurious makeinfo call might also be the consequence of"
188
+ echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
189
+ echo "want to install GNU make:"
190
+ echo "<$gnu_software_URL/make/>"
191
+ ;;
192
+ *)
193
+ echo "You might have modified some files without having the proper"
194
+ echo "tools for further handling them. Check the 'README' file, it"
195
+ echo "often tells you about the needed prerequisites for installing"
196
+ echo "this package. You may also peek at any GNU archive site, in"
197
+ echo "case some other package contains this missing '$1' program."
198
+ ;;
199
+ esac
200
+ }
201
+
202
+ give_advice "$1" | sed -e '1s/^/WARNING: /' \
203
+ -e '2,$s/^/ /' >&2
204
+
205
+ # Propagate the correct exit status (expected to be 127 for a program
206
+ # not found, 63 for a program that failed due to version mismatch).
207
+ exit $st
208
+
209
+ # Local variables:
210
+ # eval: (add-hook 'before-save-hook 'time-stamp)
211
+ # time-stamp-start: "scriptversion="
212
+ # time-stamp-format: "%:y-%02m-%02d.%02H"
213
+ # time-stamp-time-zone: "UTC0"
214
+ # time-stamp-end: "; # UTC"
215
+ # End:
@@ -0,0 +1,105 @@
1
+ /* config.h.in. Generated from configure.ac by autoheader. */
2
+
3
+ /* define if the compiler supports basic C++11 syntax */
4
+ #undef HAVE_CXX11
5
+
6
+ /* Define to 1 if you have the <dlfcn.h> header file. */
7
+ #undef HAVE_DLFCN_H
8
+
9
+ /* Define to 1 if you have the <float.h> header file. */
10
+ #undef HAVE_FLOAT_H
11
+
12
+ /* Define to 1 if you have the <inttypes.h> header file. */
13
+ #undef HAVE_INTTYPES_H
14
+
15
+ /* Define to 1 if you have the 'cxsc' library (-lcxsc). */
16
+ #undef HAVE_LIBCXSC
17
+
18
+ /* Define to 1 if you have the 'mpc' library (-lmpc). */
19
+ #undef HAVE_LIBMPC
20
+
21
+ /* Define to 1 if you have the 'mpfi' library (-lmpfi). */
22
+ #undef HAVE_LIBMPFI
23
+
24
+ /* Define to 1 if you have the 'mpfr' library (-lmpfr). */
25
+ #undef HAVE_LIBMPFR
26
+
27
+ /* Define to 1 if you have the <stdint.h> header file. */
28
+ #undef HAVE_STDINT_H
29
+
30
+ /* Define to 1 if you have the <stdio.h> header file. */
31
+ #undef HAVE_STDIO_H
32
+
33
+ /* Define to 1 if you have the <stdlib.h> header file. */
34
+ #undef HAVE_STDLIB_H
35
+
36
+ /* Define to 1 if you have the <strings.h> header file. */
37
+ #undef HAVE_STRINGS_H
38
+
39
+ /* Define to 1 if you have the <string.h> header file. */
40
+ #undef HAVE_STRING_H
41
+
42
+ /* Define to 1 if you have the <sys/stat.h> header file. */
43
+ #undef HAVE_SYS_STAT_H
44
+
45
+ /* Define to 1 if you have the <sys/types.h> header file. */
46
+ #undef HAVE_SYS_TYPES_H
47
+
48
+ /* Define to 1 if you have the <unistd.h> header file. */
49
+ #undef HAVE_UNISTD_H
50
+
51
+ /* Define to the sub-directory where libtool stores uninstalled libraries. */
52
+ #undef LT_OBJDIR
53
+
54
+ /* Name of package */
55
+ #undef PACKAGE
56
+
57
+ /* Define to the address where bug reports for this package should be sent. */
58
+ #undef PACKAGE_BUGREPORT
59
+
60
+ /* Define to the full name of this package. */
61
+ #undef PACKAGE_NAME
62
+
63
+ /* Define to the full name and version of this package. */
64
+ #undef PACKAGE_STRING
65
+
66
+ /* Define to the one symbol short name of this package. */
67
+ #undef PACKAGE_TARNAME
68
+
69
+ /* Define to the home page for this package. */
70
+ #undef PACKAGE_URL
71
+
72
+ /* Define to the version of this package. */
73
+ #undef PACKAGE_VERSION
74
+
75
+ /* Define to 1 if all of the C89 standard headers exist (not just the ones
76
+ required in a freestanding environment). This macro is provided for
77
+ backward compatibility; new code need not use it. */
78
+ #undef STDC_HEADERS
79
+
80
+ /* use CXSC library */
81
+ #undef USE_CXSC
82
+
83
+ /* use FPLLL library */
84
+ #undef USE_FPLLL
85
+
86
+ /* use MPC library */
87
+ #undef USE_MPC
88
+
89
+ /* use MPFI library */
90
+ #undef USE_MPFI
91
+
92
+ /* use MPFR library */
93
+ #undef USE_MPFR
94
+
95
+ /* Version number of package */
96
+ #undef VERSION
97
+
98
+ /* Define to empty if 'const' does not conform to ANSI C. */
99
+ #undef const
100
+
101
+ /* Define to '__inline__' or '__inline' if that's what the C compiler
102
+ calls it, or to nothing if 'inline' is not supported under any name. */
103
+ #ifndef __cplusplus
104
+ #undef inline
105
+ #endif
gap/pkg/float/init.g ADDED
@@ -0,0 +1,51 @@
1
+ #############################################################################
2
+ ##
3
+ #W init.g Laurent Bartholdi
4
+ ##
5
+ #Y Copyright (C) 2008-2016, Laurent Bartholdi
6
+ ##
7
+ #############################################################################
8
+ ##
9
+ ## This file reads the declarations of the packages' new objects
10
+ ##
11
+ #############################################################################
12
+
13
+ #############################################################################
14
+ ##
15
+ #I Create info class to be able to debug loading
16
+ ##
17
+ InfoFloat := NewInfoClass("InfoFloat");
18
+ SetInfoLevel(InfoFloat, 1);
19
+
20
+ #############################################################################
21
+ if GAPInfo.TermEncoding = "UTF-8" then
22
+ BindGlobal("FLOAT_INFINITY_STRING","∞"); # UChar(8734)
23
+ BindGlobal("FLOAT_NINFINITY_STRING","-∞"); # UChar(8734)
24
+ BindGlobal("FLOAT_EMPTYSET_STRING","∅"); # UChar(8709)
25
+ BindGlobal("FLOAT_REAL_STRING","ℝ"); # UChar(8477)
26
+ BindGlobal("FLOAT_COMPLEX_STRING","ℂ"); # UChar(8450)
27
+ BindGlobal("FLOAT_I_STRING","ⅈ"); # UChar(8520)
28
+ else
29
+ BindGlobal("FLOAT_INFINITY_STRING","inf");
30
+ BindGlobal("FLOAT_NINFINITY_STRING","-inf");
31
+ BindGlobal("FLOAT_EMPTYSET_STRING","empty");
32
+ BindGlobal("FLOAT_REAL_STRING","reals");
33
+ BindGlobal("FLOAT_COMPLEX_STRING","complex");
34
+ BindGlobal("FLOAT_I_STRING","i");
35
+ fi;
36
+
37
+ CallFuncList(function()
38
+ if LoadKernelExtension("float") = false then
39
+ Error("No dynamic library loaded for Float -- couldn't find file");
40
+ fi;
41
+ end,[]);
42
+
43
+ #############################################################################
44
+ ##
45
+ #R Read the declaration files.
46
+ ##
47
+ ReadPackage("float", "lib/float.gd");
48
+
49
+ #############################################################################
50
+
51
+ #E init.g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here