Properly find the last factor with sqrt optimization
This commit is contained in:
parent
37234a44c9
commit
5946e3ac82
3 changed files with 40 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue