Changeset 4305 for trunk/Ohana/src/opihi/lib.shell/stack_math.c
- Timestamp:
- Jun 17, 2005, 12:20:48 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/stack_math.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/stack_math.c
r3318 r4305 1166 1166 if (!strcmp (op, "ln")) { *out = log (*M1); } 1167 1167 if (!strcmp (op, "sqrt")) { *out = sqrt (*M1); } 1168 if (!strcmp (op, "erf")) { *out = erf (*M1); } 1168 1169 1169 1170 if (!strcmp (op, "sinh")) { *out = sinh (*M1); } … … 1223 1224 if (!strcmp (op, "ln")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = log(*M1); }} 1224 1225 if (!strcmp (op, "sqrt")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = sqrt(*M1); }} 1226 if (!strcmp (op, "erf")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = erf(*M1); }} 1225 1227 1226 1228 if (!strcmp (op, "sinh")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = sinh(*M1); }} … … 1289 1291 if (!strcmp (op, "ln")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = log(*M1); }} 1290 1292 if (!strcmp (op, "sqrt")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = sqrt(*M1); }} 1293 if (!strcmp (op, "erf")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = erf(*M1); }} 1291 1294 1292 1295 if (!strcmp (op, "sinh")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = sinh(*M1); }}
Note:
See TracChangeset
for help on using the changeset viewer.
