version 1.21, 2018/03/29 01:32:53 |
version 1.22, 2018/03/29 07:50:06 |
|
|
/* $OpenXM: OpenXM_contrib2/asir2000/io/pexpr_body.c,v 1.20 2017/08/31 02:36:21 noro Exp $ */ |
/* $OpenXM: OpenXM_contrib2/asir2000/io/pexpr_body.c,v 1.21 2018/03/29 01:32:53 noro Exp $ */ |
|
|
#define PRINTHAT (fortran_output?PUTS("**"):PUTS("^")) |
#define PRINTHAT (fortran_output?PUTS("**"):PUTS("^")) |
|
|
|
|
} |
} |
} |
} |
} else if ( real_digit ) { |
} else if ( real_digit ) { |
sprintf(real_format, |
sprintf(real_format,"%%.%d%c", |
double_output?"%%.%df":"%%.%dg",real_digit); |
real_digit,(double_output==1)?'f':(double_output==2)?'e':'g'); |
TAIL PRINTF(OUT,real_format,BDY((Real)q)); |
TAIL PRINTF(OUT,real_format,BDY((Real)q)); |
} else { |
} else { |
TAIL PRINTF(OUT,double_output?"%f":"%g",BDY((Real)q)); |
TAIL PRINTF(OUT,(double_output==1)?"%f":(double_output==2)?"%e":"%g",BDY((Real)q)); |
} |
} |
break; |
break; |
} |
} |