Benign netbsd Download

py313-gmpy2-2.3.0 2.3.0

File under a vendored native dependency pathCleartext http:// URL
SHA-25667a06bc9e16a4fd6dc3aeb5a9eff8191dd98569201b81729dc73e905c6730954
MaleculeH(Po)Md(He)

Evidence

imports <gmp.h> gmpy2.h · lines 72–82
72:7…
73
74/* Include headers for GMP, MPFR, and MPC. */
75
76#include <gmp.h>
77#include <mpfr.h>
78#include <mpc.h>
79
80/* Check MPFR and MPC versions. */
81
82/* gmpy2 supports the two most recent major versions of MP …
References CPython PyTypeObject C API gmpy2.h · lines 212–217
212:21… Init_RETURN PyObject *
213#define GMPy_MPZ_NewInit_PROTO (PyTypeObject *type, PyObject *args, PyObject *keywds)
214
215#define GMPy_MPZ_Dealloc_NUM 13
216#define GMPy_MPZ_Dealloc_RETURN void
217#defi …
imports <alloca.h> gmpy2.h · lines 327–342
327:26… n_alloca
328# else
329# ifdef _MSC_VER
330# include <malloc.h>
331# define alloca _alloca
332# else
333# if HAVE_ALLOCA_H
334# include <alloca.h>
335# else
336 char *alloca ();
⋯6 lines
imports gmpy2_abs.h gmpy2.h · lines 393–440
393:16… lection of general purpose macros. */
394
395#include "gmpy2_macros.h"
396
397/* Import the files that complete the definition of the types defined above. */
398
399#include "gmpy2_mpz.h"
400#include "gmpy2_xmpz.h"
401#include "gmpy2_mpq.h"
402#include "gmpy2_mpfr.h"
403#include "gmpy2_mpc.h"
404#include "gmpy2_context.h"
405#include "gmpy2_random.h"
406
407/* Import the header files that provide the various functions. */
408
409/* Support object caching, creation, and deletion. */
410
411#include "gmpy2_cache.h"
412
413/* Suport for miscellaneous functions (ie. version, license, etc.). */
414
415#include "gmpy2_misc.h"
416
417/* Support conversion to/from binary format. */
418
419#include "gmpy2_binary.h"
420
421/* Support for mpz/xmpz specific functions. */
422
423#include "gmpy2_convert.h"
424#include "gmpy2_convert_utils.h"
425#include "gmpy2_convert_gmp.h"
426#include "gmpy2_convert_mpfr.h"
427#include "gmpy2_convert_mpc.h"
428
429#include "gmpy2_mpz_divmod.h"
430#include "gmpy2_mpz_divmod2exp.h"
431#include "gmpy2_mpz_pack.h"
432#include "gmpy2_mpz_bitops.h"
433#include "gmpy2_mpz_misc.h"
434
435#include "gmpy2_xmpz_inplace.h"
436#include "gmpy2_xmpz_misc.h"
437#include "gmpy2_xmpz_limbs.h"
438
439/* Support for mpq specific functions. */
440
Handles a missing-module ImportError __init__.py · lines 1–10
1from .gmpy2 import *
2from .gmpy2 import __version__
3# Internal variables/functions are not imported by * above.
4# These are used by some python level functions and are needed
5# at the top level.
6# Use try...except to for static builds were _C_API is not available.
7try:
8 from .gmpy2 import _C_API, _mpmath_normalize, _mpmath_create
9except ImportError:
10 from .gmpy2 import _mpmath_normalize, _mpmath_create

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.