index
:
odin/Odin.git
bill/all_or_none
bill/any-type-switch-if-else
bill/change-license
bill/compiler-optimizations-2025-09
bill/conditional-zero
bill/const-union
bill/dir-organization
bill/disallow-128-bit
bill/fix-current-os-package
bill/fix-data-races-2026-02
bill/force-type-assert
bill/global-variable-distribution
bill/init-fini-changes
bill/integer-concatenation
bill/io-error-changes
bill/must-tail
bill/new-slice-sort
bill/range-init
bill/remove-test-suffix
bill/shared-partial-return-memory
bill/subtype-type-info
bill/typeid-sip-hash
bill/utf16-strings
core-flags
core_os2_revamp
custom-math-sin
fix-4225
llvm-12-support
master
middle-end
mimalloc
mv/libc-errors
new_os
orca-dev
text-template
update-tilde
windows-llvm-11.1.0
windows-llvm-12.0.1
windows-llvm-13.0.0
Odin Programming Language
Odin Lang
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
core
/
math
/
big
/
prime.odin
Commit message (
Expand
)
Author
Age
Files
Lines
*
Use `@(rodata)` where possible
gingerBill
2025-11-27
1
-1
/
+2
*
Use `< 0` instead of `== -1` for comparisons
gingerBill
2025-11-27
1
-1
/
+1
*
Change Odin's LICENSE to zlib from BSD 3-clause
gingerBill
2025-10-28
1
-1
/
+1
*
Package lines for `core:math` and more.
Jeroen van Rijn
2025-10-09
1
-3
/
+2
*
Remove the need for `rand` in `core:math/big`
gingerBill
2024-06-15
1
-5
/
+3
*
Remove unused code in `internal_random_prime`
Feoramund
2024-05-28
1
-3
/
+0
*
Fix `big.internal_random_prime` with `Second_MSB_On`
Feoramund
2024-04-15
1
-0
/
+14
*
Add `#no_broadcast` procedure parameter to disallow automatic array programmi...
gingerBill
2024-03-21
1
-1
/
+1
*
Expose internal invmod and int_exponent_mod with more consistent naming
Ed Yu
2024-03-12
1
-2
/
+5
*
Partial pseudo-revert
gingerBill
2023-10-02
1
-4
/
+8
*
Minor cleanups to the core library
gingerBill
2023-09-30
1
-1
/
+1
*
Use `or_break` and `or_continue` where appropriate in the core library
gingerBill
2023-09-30
1
-8
/
+4
*
Add parentheses around `or_return` uses in an unary expression
gingerBill
2023-04-27
1
-6
/
+6
*
fix some typos
cui fliter
2022-08-05
1
-1
/
+1
*
Simplify docs to hide the copyright
gingerBill
2022-01-17
1
-0
/
+2
*
Merge branch 'master' into optional-semicolons
gingerBill
2021-09-06
1
-102
/
+1258
|
\
|
*
big: Add Extended Euclidean algorithm.
Jeroen van Rijn
2021-09-05
1
-0
/
+83
|
*
big: Add `internal_random_prime`.
Jeroen van Rijn
2021-09-05
1
-2
/
+113
|
*
big: Add `internal_int_prime_next_prime`.
Jeroen van Rijn
2021-09-04
1
-1
/
+343
|
*
big: Add Lucas-Selfridge.
Jeroen van Rijn
2021-09-03
1
-7
/
+237
|
*
big: Fix internal_int_mod for inputs with opposite signs.
Jeroen van Rijn
2021-09-03
1
-2
/
+2
|
*
big: Add Frobenius-Underwood.
Jeroen van Rijn
2021-09-03
1
-8
/
+98
|
*
big: Fix M-R.
Jeroen van Rijn
2021-09-02
1
-4
/
+4
|
*
big: Add `internal_int_is_prime`.
Jeroen van Rijn
2021-09-02
1
-6
/
+227
|
*
big: Add Miller-Rabin.
Jeroen van Rijn
2021-09-01
1
-0
/
+82
|
*
big: Use new comparison helpers.
Jeroen van Rijn
2021-09-01
1
-1
/
+1
|
*
big: Add `internal_int_kronecker`.
Jeroen van Rijn
2021-09-01
1
-0
/
+95
|
*
big: Add `internal_int_exponent_mod`.
Jeroen van Rijn
2021-09-01
1
-55
/
+52
|
*
big: Cue up `internal_int_exponent_mod` wrapper function.
Jeroen van Rijn
2021-09-01
1
-992
/
+45
|
*
big: Add Diminished Radix reduction.
Jeroen van Rijn
2021-09-01
1
-9
/
+105
|
*
big: Remove temporary prints.
Jeroen van Rijn
2021-09-01
1
-2
/
+0
|
*
big: Add `internal_int_exponent_mod_fast`.
Jeroen van Rijn
2021-09-01
1
-2
/
+281
|
*
big: Add `internal_int_exponent_mod`.
Jeroen van Rijn
2021-09-01
1
-12
/
+236
|
*
Big: Added Barrett reduction setup.
Jeroen van Rijn
2021-09-01
1
-0
/
+45
|
*
big: Add `reduce_2k`.
Jeroen van Rijn
2021-09-01
1
-1
/
+211
*
|
Strip even more semicolons if followed by a `}` or `)` on the same line
gingerBill
2021-08-31
1
-1
/
+1
*
|
Remove unneeded semicolons from the core library
gingerBill
2021-08-31
1
-73
/
+73
|
/
*
big: Add Montgomery Reduction.
Jeroen van Rijn
2021-08-27
1
-0
/
+110
*
big: Add `internal_int_montgomery_calc_normalization`.
Jeroen van Rijn
2021-08-27
1
-24
/
+17
*
big: Add Montgomery reduction.
Jeroen van Rijn
2021-08-27
1
-0
/
+74
*
big: Update license to BSD-3.
Jeroen van Rijn
2021-08-19
1
-1
/
+1
*
Improve parsing for `or_return`; allow `#force_inline foo() or_return;`
gingerBill
2021-08-16
1
-1
/
+1
*
Replace `err != nil` with `or_return` where appropriate
gingerBill
2021-08-15
1
-4
/
+5
*
big: Add inverse mod.
Jeroen van Rijn
2021-08-13
1
-0
/
+45
*
big: Add arguments and usage to test.py.
Jeroen van Rijn
2021-08-11
1
-2
/
+2
*
big: Finish refactor.
Jeroen van Rijn
2021-08-11
1
-1
/
+3
*
big: More refactoring.
Jeroen van Rijn
2021-08-11
1
-2
/
+4
*
big: Split up `int_is_*` comparison tests.
Jeroen van Rijn
2021-08-11
1
-40
/
+1
*
bit: Improved bitfield extraction.
Jeroen van Rijn
2021-08-11
1
-0
/
+68