Changeset 1596de3 in sasmodels
- Timestamp:
- Jul 27, 2016 6:41:50 AM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 1557a1e
- Parents:
- c047acf
- Location:
- sasmodels/models/lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/lib/sas_J0.c
r3f8584a2 r1596de3 55 55 #if FLOAT_SIZE>4 56 56 //Cephes double precission 57 double j0(double x); 57 58 58 59 constant double PPJ0[8] = { … … 146 147 }; 147 148 148 double j0(double x);149 149 double j0(double x) 150 150 { … … 185 185 } 186 186 #else 187 //Cephes single precission 188 float j0f(float x); 187 189 188 190 constant float MOJ0[8] = { … … 219 221 }; 220 222 221 //Cephes single precission222 float j0f(float x);223 223 float j0f(float x) 224 224 { -
sasmodels/models/lib/sas_J1.c
r3f8584a2 r1596de3 41 41 42 42 #if FLOAT_SIZE>4 43 44 43 //Cephes double pression function 44 double j1(double x); 45 45 46 constant double RPJ1[8] = { 46 47 -8.99971225705559398224E8, … … 105 106 0.0 }; 106 107 107 double j1(double x);108 108 double j1(double x) 109 109 { … … 144 144 #else 145 145 //Single precission version of cephes 146 float j1f(float x); 147 146 148 constant float JPJ1[8] = { 147 149 -4.878788132172128E-009, … … 177 179 }; 178 180 179 float j1f(float x);180 181 float j1f(float x) 181 182 { -
sasmodels/models/lib/sas_JN.c
r3f8584a2 r1596de3 121 121 #else 122 122 123 float jnf(int n, float x); 123 124 float jnf(int n, float x) 124 125 { -
sasmodels/models/lib/sas_gamma.c
r6ce9048 r1596de3 134 134 return(z / ((1.0 + 0.5772156649015329 * x) * x)); 135 135 } 136 #endif 136 #endif // NEED_TGAMMA 137 137 138 138
Note: See TracChangeset
for help on using the changeset viewer.