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) 2021 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
BEGINEXTERN
16
17
#define PARI_DBG_ID(s) DEBUGLEVEL_##s
18
19
#define PARI_DBG_LIST(ID) \
20
ID(alg), ID(arith), \
21
ID(bern), ID(bnf), ID(bnr), ID(bnrclassfield), ID(bb_group), \
22
ID(compiler), \
23
ID(ell), ID(ellanal), ID(ellcard), ID(ellisogeny), ID(ellrank), \
24
ID(ellsea), \
25
ID(factor), ID(factorff), ID(factorint), ID(factormod), ID(fflog), \
26
ID(galois), ID(gammamellininv), ID(genus2red), \
27
ID(hensel), ID(hyperell), \
28
ID(intnum), ID(io), ID(isprime), \
29
ID(lfun), \
30
ID(mat), ID(mathnf), ID(mf), ID(mod), ID(mpqs), ID(ms), ID(mt),\
31
ID(nf), ID(nffactor), ID(nflist), ID(nfsubfields), \
32
ID(padicfields), ID(pic),\
33
ID(pol), ID(polclass), ID(polgalois), ID(polmodular), ID(polroots),\
34
ID(qf), ID(qflll), ID(qfsolve), ID(qfisom), ID(quadclassunit),\
35
ID(rnf), \
36
ID(stark), ID(subcyclo), ID(subgrouplist), \
37
ID(thue), ID(trans), \
38
ID(zetamult)
39
40
#ifndef PARI_INIT
41
extern
42
#endif
43
ulong PARI_DBG_LIST(PARI_DBG_ID);
44
#ifdef PARI_INIT
45
#define PARI_DBG_PTR(s) &DEBUGLEVEL_##s
46
#define PARI_DBG_STR(s) #s
47
48
ulong * const pari_DEBUGLEVEL_ptr[] = { PARI_DBG_LIST(PARI_DBG_PTR) };
49
50
const char * pari_DEBUGLEVEL_str[] = { PARI_DBG_LIST(PARI_DBG_STR) };
51
#endif
52
53
ENDEXTERN
54
55