Changeset 2833 for trunk/Ohana/src/opihi/lib.shell/stack_math.c
- Timestamp:
- Dec 27, 2004, 2:30:56 PM (22 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
r2801 r2833 1114 1114 if (!strcmp (op, "sqrt")) { *out = sqrt (*M1); } 1115 1115 1116 if (!strcmp (op, "sinh")) { *out = sinh f(*M1); }1117 if (!strcmp (op, "cosh")) { *out = cosh f(*M1); }1118 if (!strcmp (op, "asinh")) { *out = asinh f(*M1); }1119 if (!strcmp (op, "acosh")) { *out = acosh f(*M1); }1116 if (!strcmp (op, "sinh")) { *out = sinh (*M1); } 1117 if (!strcmp (op, "cosh")) { *out = cosh (*M1); } 1118 if (!strcmp (op, "asinh")) { *out = asinh (*M1); } 1119 if (!strcmp (op, "acosh")) { *out = acosh (*M1); } 1120 1120 1121 1121 if (!strcmp (op, "sin")) { *out = sin (*M1); } … … 1170 1170 if (!strcmp (op, "sqrt")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = sqrt(*M1); }} 1171 1171 1172 if (!strcmp (op, "sinh")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = sinh f(*M1); }}1173 if (!strcmp (op, "cosh")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = cosh f(*M1); }}1174 if (!strcmp (op, "asinh")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = asinh f(*M1); }}1175 if (!strcmp (op, "acosh")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = acosh f(*M1); }}1172 if (!strcmp (op, "sinh")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = sinh(*M1); }} 1173 if (!strcmp (op, "cosh")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = cosh(*M1); }} 1174 if (!strcmp (op, "asinh")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = asinh(*M1); }} 1175 if (!strcmp (op, "acosh")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = acosh(*M1); }} 1176 1176 1177 1177 if (!strcmp (op, "sin")) { for (i = 0; i < Nx; i++, out++, M1++) { *out = sin(*M1); }} … … 1235 1235 if (!strcmp (op, "sqrt")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = sqrt(*M1); }} 1236 1236 1237 if (!strcmp (op, "sinh")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = sinh f(*M1); }}1238 if (!strcmp (op, "cosh")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = cosh f(*M1); }}1239 if (!strcmp (op, "asinh")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = asinh f(*M1); }}1240 if (!strcmp (op, "acosh")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = acosh f(*M1); }}1237 if (!strcmp (op, "sinh")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = sinh(*M1); }} 1238 if (!strcmp (op, "cosh")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = cosh(*M1); }} 1239 if (!strcmp (op, "asinh")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = asinh(*M1); }} 1240 if (!strcmp (op, "acosh")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = acosh(*M1); }} 1241 1241 1242 1242 if (!strcmp (op, "sin")) { for (i = 0; i < Nx*Ny; i++, out++, M1++) { *out = sin(*M1); }}
Note:
See TracChangeset
for help on using the changeset viewer.
