floor(log(n,2))
```
ECL says: #<a FLOATING-POINT-OVERFLOW 0x7fac3d5c4700>

This bug appears to be very rare and it passed many testcases.
It is not a large number issue:

sage: floor(log(3*n+1,2))
3073
sage: floor(log(3*n+2,2))
3073

Is someone is interested in the context, check:

On factoring integers of the form $n=(x^D+1)(y^D+1)$ and
$n=(x^D+a_{D-2}x^{D-2}++ ... a_0) (y^D+b_{D-2}y^{D-2}+ ... b_0)$ with
$x,y$ of the same size

https://www.researchgate.net/publication/395877507_On_factoring_integers_of_the_form_n_x_D_1y_D_1_and_n_x_D_a_D-2_x_D-2_a_0_y_D_b_D-2_y_D-2_b_0_with_x_y_of_the_same_size

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/CAGUWgD-SiWQ17pT_ERENx1p78_HqvxEjPPBAZdpY1jsbbqSq3w%40mail.gmail.com.

Reply via email to