Skip to content

Commit 9c8e061

Browse files
committed
Add comments describing valid argument range for internal functions
1 parent ca3aaa3 commit 9c8e061

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/e_j0.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ static const double pS2[5] = {
268268
1.46576176948256193810e+01, /* 0x402D50B3, 0x44391809 */
269269
};
270270

271+
/* Note: This function is only called for ix>=0x40000000 (see above) */
271272
static double pzero(double x)
272273
{
273274
const double *p,*q;
@@ -363,6 +364,7 @@ static const double qS2[6] = {
363364
-5.31095493882666946917e+00, /* 0xC0153E6A, 0xF8B32931 */
364365
};
365366

367+
/* Note: This function is only called for ix>=0x40000000 (see above) */
366368
static double qzero(double x)
367369
{
368370
const double *p,*q;

src/e_j0f.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ static const float pS2[5] = {
224224
1.4657617569e+01, /* 0x416a859a */
225225
};
226226

227+
/* Note: This function is only called for ix>=0x40000000 (see above) */
227228
static float pzerof(float x)
228229
{
229230
const float *p,*q;
@@ -319,6 +320,7 @@ static const float qS2[6] = {
319320
-5.3109550476e+00, /* 0xc0a9f358 */
320321
};
321322

323+
/* Note: This function is only called for ix>=0x40000000 (see above) */
322324
static float qzerof(float x)
323325
{
324326
const float *p,*q;

src/e_j1.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ static const double ps2[5] = {
262262
8.36463893371618283368e+00, /* 0x4020BAB1, 0xF44E5192 */
263263
};
264264

265+
/* Note: This function is only called for ix>=0x40000000 (see above) */
265266
static double pone(double x)
266267
{
267268
const double *p,*q;
@@ -358,6 +359,7 @@ static const double qs2[6] = {
358359
-4.95949898822628210127e+00, /* 0xC013D686, 0xE71BE86B */
359360
};
360361

362+
/* Note: This function is only called for ix>=0x40000000 (see above) */
361363
static double qone(double x)
362364
{
363365
const double *p,*q;

src/e_j1f.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ static const float ps2[5] = {
219219
8.3646392822e+00, /* 0x4105d590 */
220220
};
221221

222+
/* Note: This function is only called for ix>=0x40000000 (see above) */
222223
static float ponef(float x)
223224
{
224225
const float *p,*q;
@@ -315,6 +316,7 @@ static const float qs2[6] = {
315316
-4.9594988823e+00, /* 0xc09eb437 */
316317
};
317318

319+
/* Note: This function is only called for ix>=0x40000000 (see above) */
318320
static float qonef(float x)
319321
{
320322
const float *p,*q;

0 commit comments

Comments
 (0)