Changeset c8902ac in sasmodels for sasmodels/models/lib/sas_J0.c
- Timestamp:
- Dec 6, 2016 1:21:08 PM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 447e9aa
- Parents:
- 1e13e35
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/lib/sas_J0.c
r1596de3 rc8902ac 55 55 #if FLOAT_SIZE>4 56 56 //Cephes double precission 57 double j0(double x);57 double cephes_j0(double x); 58 58 59 59 constant double PPJ0[8] = { … … 147 147 }; 148 148 149 double j0(double x)149 double cephes_j0(double x) 150 150 { 151 151 double w, z, p, q, xn; … … 186 186 #else 187 187 //Cephes single precission 188 float j0f(float x);188 float cephes_j0f(float x); 189 189 190 190 constant float MOJ0[8] = { … … 221 221 }; 222 222 223 float j0f(float x)223 float cephes_j0f(float x) 224 224 { 225 225 float xx, w, z, p, q, xn; … … 257 257 258 258 #if FLOAT_SIZE>4 259 #define sas_J0 j0259 #define sas_J0 cephes_j0 260 260 #else 261 #define sas_J0 j0f261 #define sas_J0 cephes_j0f 262 262 #endif
Note: See TracChangeset
for help on using the changeset viewer.