Skip to content

Commit

Permalink
Merge pull request #717 from staticfloat/master
Browse files Browse the repository at this point in the history
Converting isnanf() calls into isnan() calls
  • Loading branch information
JeffBezanson committed Apr 14, 2012
2 parents 7d45ea5 + 8f9ddfa commit 4649ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/fdlibm/e_scalbf.c
Expand Up @@ -28,7 +28,7 @@ scalbf(float x, int fn)
float
scalbf(float x, float fn)
{
if (isnanf(x)||isnanf(fn)) return x*fn;
if (isnan(x)||isnan(fn)) return x*fn;
if (!finitef(fn)) {
if(fn>(float)0.0) return x*fn;
else return x/(-fn);
Expand Down

0 comments on commit 4649ed0

Please sign in to comment.