Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Testing latest pari + WASM + node.js... and it works?! Wow.

28485 views
License: GPL3
ubuntu2004
1
/* Copyright (C) 2000 The PARI group.
2
3
This file is part of the PARI/GP package.
4
5
PARI/GP is free software; you can redistribute it and/or modify it under the
6
terms of the GNU General Public License as published by the Free Software
7
Foundation; either version 2 of the License, or (at your option) any later
8
version. It is distributed in the hope that it will be useful, but WITHOUT
9
ANY WARRANTY WHATSOEVER.
10
11
Check the License for details. You should have received a copy of it, along
12
with the package; see the file 'COPYING'. If not, write to the Free Software
13
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
14
15
#ifndef __GENPARI__
16
#define __GENPARI__
17
#include "paricfg.h"
18
19
#include <stdlib.h> /* malloc, free, atoi */
20
#ifdef UNIX
21
# define _INCLUDE_POSIX_SOURCE /* for HPUX */
22
# include <sys/types.h> /* size_t */
23
#endif
24
25
#include <signal.h>
26
#include <stdio.h>
27
#include <stdarg.h>
28
#include <setjmp.h>
29
#include <string.h>
30
#if !defined(_WIN32)
31
# include <unistd.h>
32
#else
33
# include <io.h>
34
#endif
35
#include <math.h>
36
#include <memory.h>
37
#include <ctype.h>
38
39
#include "parisys.h"
40
#include "parigen.h"
41
#include "paricast.h"
42
#include "paristio.h"
43
#include "paricom.h"
44
#include "parierr.h"
45
#include "paridbglvl.h"
46
BEGINEXTERN
47
#include "paridecl.h"
48
#include "paritune.h"
49
#include "parimt.h"
50
#ifndef PARI_NO_MPINL_H
51
# include "mpinl.h"
52
#endif
53
#ifndef PARI_NO_PARIINL_H
54
# include "pariinl.h"
55
#endif
56
ENDEXTERN
57
#include "pariold.h"
58
#endif
59
60