Give compilers a stronger hint to inline the functions

pzero[f], qzero[f], pone[f], and qone[f].  While here
fix the function declarations in accordance with style(9).
This commit is contained in:
Steve Kargl 2015-03-01 20:32:47 +00:00
parent db37238f70
commit a737ef56ab
4 changed files with 16 additions and 8 deletions

View File

@ -268,7 +268,8 @@ static const double pS2[5] = {
1.46576176948256193810e+01, /* 0x402D50B3, 0x44391809 */
};
static double pzero(double x)
static __inline double
pzero(double x)
{
const double *p,*q;
double z,r,s;
@ -363,7 +364,8 @@ static const double qS2[6] = {
-5.31095493882666946917e+00, /* 0xC0153E6A, 0xF8B32931 */
};
static double qzero(double x)
static __inline double
qzero(double x)
{
const double *p,*q;
double s,r,z;

View File

@ -224,7 +224,8 @@ static const float pS2[5] = {
1.4657617569e+01, /* 0x416a859a */
};
static float pzerof(float x)
static __inline float
pzerof(float x)
{
const float *p,*q;
float z,r,s;
@ -319,7 +320,8 @@ static const float qS2[6] = {
-5.3109550476e+00, /* 0xc0a9f358 */
};
static float qzerof(float x)
static __inline float
qzerof(float x)
{
const float *p,*q;
float s,r,z;

View File

@ -262,7 +262,8 @@ static const double ps2[5] = {
8.36463893371618283368e+00, /* 0x4020BAB1, 0xF44E5192 */
};
static double pone(double x)
static __inline double
pone(double x)
{
const double *p,*q;
double z,r,s;
@ -358,7 +359,8 @@ static const double qs2[6] = {
-4.95949898822628210127e+00, /* 0xC013D686, 0xE71BE86B */
};
static double qone(double x)
static __inline double
qone(double x)
{
const double *p,*q;
double s,r,z;

View File

@ -219,7 +219,8 @@ static const float ps2[5] = {
8.3646392822e+00, /* 0x4105d590 */
};
static float ponef(float x)
static __inline float
ponef(float x)
{
const float *p,*q;
float z,r,s;
@ -315,7 +316,8 @@ static const float qs2[6] = {
-4.9594988823e+00, /* 0xc09eb437 */
};
static float qonef(float x)
static __inline float
qonef(float x)
{
const float *p,*q;
float s,r,z;