version 1.33, 2016/04/01 03:04:35 |
version 1.36, 2017/03/31 06:10:13 |
|
|
/* $OpenXM: OpenXM_contrib2/asir2000/builtin/parif.c,v 1.32 2015/08/21 06:00:29 noro Exp $ */ |
/* $OpenXM: OpenXM_contrib2/asir2000/builtin/parif.c,v 1.35 2017/03/31 04:15:34 ohara Exp $ */ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
#include "ox.h" |
#include "ox.h" |
Line 127 pointer evalparif(FUNC f,NODE arg) |
|
Line 127 pointer evalparif(FUNC f,NODE arg) |
|
MKNODE(nd,0,0); |
MKNODE(nd,0,0); |
r = (Q)bevalf((FUNC)v->priv,0); |
r = (Q)bevalf((FUNC)v->priv,0); |
}else { |
}else { |
|
#if !defined(VISUAL) |
MKSTR(name,"ox_pari"); |
MKSTR(name,"ox_pari"); |
nd = mknode(2,NULL,name); |
nd = mknode(2,NULL,name); |
Pox_launch_nox(nd,&r); |
Pox_launch_nox(nd,&r); |
|
#else |
|
error("Please load names.rr from latest asir-contrib library before using pari functions."); |
|
#endif |
} |
} |
ox_pari_stream = r; |
ox_pari_stream = r; |
ox_pari_stream_initialized = 1; |
ox_pari_stream_initialized = 1; |
Line 174 struct pariftab { |
|
Line 178 struct pariftab { |
|
|
|
/* |
/* |
* type = 1 => argc = 1, second arg = precision |
* type = 1 => argc = 1, second arg = precision |
* type = 2 => argc = 1, second arg = optional (long int) |
* type = 2 => argc = 1, second arg = (long int)0 |
* |
* |
*/ |
*/ |
/* |
/* |