Changeset 40019 for trunk/Ohana/src/opihi/lib.shell/stack_math.c
- Timestamp:
- Apr 27, 2017, 2:48:35 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/stack_math.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/stack_math.c
r39558 r40019 1226 1226 if (!strcmp (op, "--")) S_FUNC(-1*M1, ST_SCALAR_INT); // NOTE: opihi_int is signed, 1227 1227 if (!strcmp (op, "isinf")) S_FUNC(!finite(M1), ST_SCALAR_FLT); // XXX modify in future 1228 if (!strcmp (op, "isnan")) S_FUNC(isnan( M1), ST_SCALAR_FLT); // XXX modify in future1228 if (!strcmp (op, "isnan")) S_FUNC(isnan((opihi_flt)(M1)), ST_SCALAR_FLT); // XXX modify in future 1229 1229 1230 1230 # undef S_FUNC … … 1313 1313 if (!strcmp (op, "--")) V_FUNC(-1*(*M1), ST_SCALAR_INT); // NOTE: opihi_int is signed 1314 1314 if (!strcmp (op, "isinf")) V_FUNC(!finite(*M1), ST_SCALAR_FLT); 1315 if (!strcmp (op, "isnan")) V_FUNC(isnan( *M1), ST_SCALAR_FLT);1315 if (!strcmp (op, "isnan")) V_FUNC(isnan((opihi_flt)(*M1)), ST_SCALAR_FLT); 1316 1316 if (!strcmp (op, "xramp")) V_FUNC(i, ST_SCALAR_INT); 1317 1317 if (!strcmp (op, "yramp")) V_FUNC(0, ST_SCALAR_INT);
Note:
See TracChangeset
for help on using the changeset viewer.
