Popularity
2.0
Stable
Activity
0.0
Stable
0
3
2
Programming language: Crystal
License: GNU General Public License v3.0 or later
Tags:
Algorithms And Data Structures
Latest version: v0.2.0
miller_rabin alternatives and similar shards
Based on the "Algorithms and Data structures" category.
Alternatively, view miller_rabin alternatives based on common mentions on social networks and blogs.
-
graphlb
graphlb is a crystal library which contains all the graph Data-Structures and Algorithms implemented in crystal-lang. -
text
A collection of phonetic algorithms for Crystal. Including; Porter-Stemmer, Soundex, Metaphone, Double Metaphone & White Similarity -
splay_tree_map
This is a Crystal implementation of a Splay Tree; which is a type of binary search tree that is semi-balanced and that tends to self-optimize so that the most accessed items are the fastest to retrieve. -
haversine
Crystal implementation of the Haversine formula to calculate distances between two points given their latitudes and longitudes -
SPAKE2+
a crystal lang implementation of SPAKE2+, a Password Authenticated Key Exchange (PAKE) protocol
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Promo
www.saashub.com
Do you think we are missing an alternative of miller_rabin or a related project?
README
miller_rabin
Implements Miller-Rabin algorithm to check if a number is prime
Installation
Add this to your application's shard.yml
:
dependencies:
miller_rabin:
github: kuende/miller_rabin
Usage
require "miller_rabin"
MillerRabin.probably_prime(10459103, 100)
MillerRabin.probably_prime(5915587219_u64, 100)
Contributing
- Fork it ( https://github.com/kuende/miller_rabin/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request