version 1.25, 2003/12/02 06:56:48 |
version 1.27, 2003/12/25 02:40:24 |
|
|
* OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY |
* OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* $OpenXM: OpenXM_contrib2/asir2000/io/pexpr.c,v 1.24 2003/06/09 16:18:10 saito Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/io/pexpr.c,v 1.26 2003/12/24 08:00:38 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "al.h" |
#include "al.h" |
|
|
#include "comp.h" |
#include "comp.h" |
#include "base.h" |
#include "base.h" |
|
|
|
#if defined(PARI) |
|
#include "genpari.h" |
|
#endif |
|
|
#ifndef FPRINT |
#ifndef FPRINT |
#define FPRINT |
#define FPRINT |
#endif |
#endif |
|
|
void printbf(a) |
void printbf(a) |
BF a; |
BF a; |
{ |
{ |
void sor(); |
|
|
|
sor(a->body,double_output ? 'f' : 'g',-1,0); |
sor(a->body,double_output ? 'f' : 'g',-1,0); |
} |
} |
#endif |
#endif |
|
|
} |
} |
|
|
#if defined(PARI) |
#if defined(PARI) |
#include "genpari.h" |
|
|
|
void myoutbrute(g) |
void myoutbrute(g) |
GEN g; |
GEN g; |
{ |
{ |
Line 237 void sprintbf(a) |
|
Line 237 void sprintbf(a) |
|
BF a; |
BF a; |
{ |
{ |
char *str; |
char *str; |
char *GENtostr(); |
|
char *GENtostr0(); |
char *GENtostr0(); |
|
|
if ( double_output ) { |
if ( double_output ) { |
|
|
int i,expo; |
int i,expo; |
|
|
m = (unsigned int *)&BDY((Real)q); |
m = (unsigned int *)&BDY((Real)q); |
#if defined(__i386__) || defined(MIPSEL) || defined(VISUAL) || defined(__alpha) || defined(__FreeBSD__) || defined(__NetBSD__) |
#if defined(__i386__) || defined(MIPSEL) || defined(VISUAL) || defined(__alpha) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__x86_64) |
u = m[1]; l = m[0]; |
u = m[1]; l = m[0]; |
#else |
#else |
u = m[0]; l = m[1]; |
u = m[0]; l = m[1]; |