version 1.1, 2018/09/19 05:45:05 |
version 1.2, 2019/06/04 07:11:23 |
|
|
* 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: OpenXM_contrib2/asir2018/builtin/cplxnum.c,v 1.1 2018/09/19 05:45:05 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
|
|
else |
else |
switch ( OID(p) ) { |
switch ( OID(p) ) { |
case O_N: |
case O_N: |
if ( NID((Num)p) <= N_B ) |
if ( NID((Num)p) < N_C ) // Y.Kondoh ( NID((Num)p) <= N_B ) |
*r = p; |
*r = p; |
else { |
else { |
NEWC(c); c->r = ((C)p)->r; chsgnnum(((C)p)->i,&c->i); |
NEWC(c); c->r = ((C)p)->r; chsgnnum(((C)p)->i,&c->i); |
|
|
else |
else |
switch ( OID(p) ) { |
switch ( OID(p) ) { |
case O_N: |
case O_N: |
if ( NID((Num)p) <= N_B ) |
if ( NID((Num)p) < N_C ) // Y.Kondoh ( NID((Num)p) <= N_B ) |
*r = p; |
*r = p; |
else |
else |
*r = (Obj)((C)p)->r; |
*r = (Obj)((C)p)->r; |
|
|
else |
else |
switch ( OID(p) ) { |
switch ( OID(p) ) { |
case O_N: |
case O_N: |
if ( NID((Num)p) <= N_B ) |
if ( NID((Num)p) < N_C ) // Y.Kondoh ( NID((Num)p) <= N_B ) |
*r = 0; |
*r = 0; |
else |
else |
*r = (Obj)((C)p)->i; |
*r = (Obj)((C)p)->i; |