You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reciprocal of ALPHA'' is computed in line 223 and this computation may overflow when 0 < ALPHA ≪ 1 and 0 < XNORM ≪ ALPHA. For example, ALPHA = ε² and XNORM = ε⁴.
The C code demonstrates the problem (compile it with gcc -Wextra -Wall -std=c99 -pedantic slarfgp.c -llapack -lm):
Description
xLARFGP may cause an overflow in line 195. It is my expectation that no overflow takes place.
The operations executed are (
ALPHA
is assigned to several times, signs are ignored):The reciprocal of
ALPHA''
is computed in line 223 and this computation may overflow when0 < ALPHA ≪ 1
and0 < XNORM ≪ ALPHA
. For example,ALPHA = ε²
andXNORM = ε⁴
.The C code demonstrates the problem (compile it with
gcc -Wextra -Wall -std=c99 -pedantic slarfgp.c -llapack -lm
):Checklist
The text was updated successfully, but these errors were encountered: