Commit ef8e393
Add ubig_sqr benchmark covering all algorithm thresholds
Tests 10^1 through 10^6 bit random operands, exercising simple,
Karatsuba, Toom-3, and NTT squaring paths.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 54411c8 commit ef8e393
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
178 | 199 | | |
179 | 200 | | |
180 | 201 | | |
| |||
189 | 210 | | |
190 | 211 | | |
191 | 212 | | |
| 213 | + | |
192 | 214 | | |
193 | 215 | | |
194 | 216 | | |
0 commit comments