Skip to content

Commit e788102

Browse files
authored
Merge pull request #1709 from stevengj/patch-1
fabs -> fabsl
2 parents 9e65430 + 165f00c commit e788102

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

interface/rotg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ void CNAME(FLOAT *DA, FLOAT *DB, FLOAT *C, FLOAT *S){
2222
long double s;
2323
long double r, roe, z;
2424

25-
long double ada = fabs(da);
26-
long double adb = fabs(db);
25+
long double ada = fabsl(da);
26+
long double adb = fabsl(db);
2727
long double scale = ada + adb;
2828

2929
#ifndef CBLAS

interface/zrotg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ void NAME(FLOAT *DA, FLOAT *DB, FLOAT *C, FLOAT *S){
1414
long double db_i = *(DB + 1);
1515
long double r;
1616

17-
long double ada = fabs(da_r) + fabs(da_i);
17+
long double ada = fabsl(da_r) + fabsl(da_i);
1818

1919
PRINT_DEBUG_NAME;
2020

0 commit comments

Comments
 (0)