Skip to content

Commit

Permalink
feat: code using fmaxf
Browse files Browse the repository at this point in the history
  • Loading branch information
aayush0325 committed Nov 12, 2024
1 parent b933479 commit f0bf2fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ stdlib_complex64_t stdlib_base_cinvf( const stdlib_complex64_t z ) {

stdlib_complex64_reim( z, &re, &im );

ab = maxf( stdlib_base_absf( re ), stdlib_base_absf( im ) );
ab = fmaxf( stdlib_base_absf( re ), stdlib_base_absf( im ) );
s = 1.0f;
if ( ab >= LARGE_THRESHOLD ) {
re *= 0.5f;
Expand Down

0 comments on commit f0bf2fe

Please sign in to comment.