Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2025-09-23
22:07 • New ticket [475db43843] float cast overflows in lseq. artifact: 667ce6b617 user: chrstphrchvz

float cast overflows in lseq

Open475db4384351f52244ea895963c4b5aab7032c07Created 1 year agoUpdated 1 year ago
Descriptionmarkdown2025-09-23 22:07:39

UBSan -fsanitize=float-cast-overflow errors are triggered by test lseq-1.27, as well as this similar example:

% lseq 1e50 count 1 1
generic/tclArithSeries.c:568:22: runtime error: 1e+50 is outside the range of representable values of type 'long long'
generic/tclArithSeries.c:697:12: runtime error: 1e+50 is outside the range of representable values of type 'long long'
1e+50
Log in (anonymous is fine) to add a comment.