Properly find the last factor with sqrt optimization

This commit is contained in:
ItsDrike 2025-02-26 13:47:29 +01:00
parent 37234a44c9
commit 5946e3ac82
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
3 changed files with 40 additions and 6 deletions

View file

@ -115,6 +115,12 @@ ApplicationWindow {
font.pixelSize: 14
Layout.alignment: Qt.AlignHCenter
}
Text {
text: "Current Number (being factorized): " + factorizationController.curFactNumber
font.pixelSize: 14
Layout.alignment: Qt.AlignHCenter
}
}
}
@ -131,7 +137,7 @@ ApplicationWindow {
}
Text {
text: factorizationController.useSqrtOptimization ? "Note: Only factors up to sqrt(n) are shown." : "Note: Finding all factors (slower)."
text: factorizationController.useSqrtOptimization ? "Note: Only factors up to sqrt(n) are searched." : "Note: Searching all factors (slower)."
font.pixelSize: 12
Layout.alignment: Qt.AlignHCenter
}