[VENTUS][fix] Fix clzl function implementation in floatdidf

This commit is contained in:
zhoujing 2024-01-31 16:12:58 +08:00
parent dfd2affa51
commit aaf1c41a21
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ double __floatdidf(di_int a) {
const unsigned N = sizeof(di_int) * 8;
const di_int s = a >> (N - 1);
a = (a ^ s) - s;
int sd = N - clz64(a);
int sd = N - clzl(a);
int e = sd - 1;
if (sd > DBL_MANT_DIG) {