Changeset 1596de3 in sasmodels


Ignore:
Timestamp:
Jul 27, 2016 6:41:50 AM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
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
Message:

code formatting

Location:
sasmodels/models/lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/lib/sas_J0.c

    r3f8584a2 r1596de3  
    5555#if FLOAT_SIZE>4 
    5656//Cephes double precission 
     57double j0(double x); 
    5758 
    5859 constant double PPJ0[8] = { 
     
    146147  }; 
    147148 
    148 double j0(double x); 
    149149double j0(double x) 
    150150{ 
     
    185185} 
    186186#else 
     187//Cephes single precission 
     188float j0f(float x); 
    187189 
    188190 constant float MOJ0[8] = { 
     
    219221 }; 
    220222 
    221 //Cephes single precission 
    222 float j0f(float x); 
    223223float j0f(float x) 
    224224{ 
  • sasmodels/models/lib/sas_J1.c

    r3f8584a2 r1596de3  
    4141 
    4242#if FLOAT_SIZE>4 
    43  
    4443//Cephes double pression function 
     44double j1(double x); 
     45 
    4546constant double RPJ1[8] = { 
    4647    -8.99971225705559398224E8, 
     
    105106    0.0 }; 
    106107 
    107 double j1(double x); 
    108108double j1(double x) 
    109109{ 
     
    144144#else 
    145145//Single precission version of cephes 
     146float j1f(float x); 
     147 
    146148constant float JPJ1[8] = { 
    147149    -4.878788132172128E-009, 
     
    177179    }; 
    178180 
    179 float j1f(float x); 
    180181float j1f(float x) 
    181182{ 
  • sasmodels/models/lib/sas_JN.c

    r3f8584a2 r1596de3  
    121121#else 
    122122 
     123float jnf(int n, float x); 
    123124float jnf(int n, float x) 
    124125{ 
  • sasmodels/models/lib/sas_gamma.c

    r6ce9048 r1596de3  
    134134                return(z / ((1.0 + 0.5772156649015329 * x) * x)); 
    135135} 
    136 #endif 
     136#endif // NEED_TGAMMA 
    137137 
    138138 
Note: See TracChangeset for help on using the changeset viewer.