Commit 1ded86d
committed
MAINT: random: Add assert() statements.
Assert that an invalid value (2**n-1 for n = 8, 16, 32, 64) has not
been passed to the Lemire function.1 parent e8b8401 commit 1ded86d
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
1149 | 1151 | | |
1150 | 1152 | | |
1151 | 1153 | | |
| 1154 | + | |
| 1155 | + | |
1152 | 1156 | | |
1153 | 1157 | | |
1154 | 1158 | | |
| |||
1239 | 1243 | | |
1240 | 1244 | | |
1241 | 1245 | | |
| 1246 | + | |
| 1247 | + | |
1242 | 1248 | | |
1243 | 1249 | | |
1244 | 1250 | | |
| |||
1273 | 1279 | | |
1274 | 1280 | | |
1275 | 1281 | | |
| 1282 | + | |
| 1283 | + | |
1276 | 1284 | | |
1277 | 1285 | | |
1278 | 1286 | | |
| |||
1308 | 1316 | | |
1309 | 1317 | | |
1310 | 1318 | | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
1311 | 1322 | | |
1312 | 1323 | | |
1313 | 1324 | | |
| |||
0 commit comments