Skip to content

guildenstern70/PurePrimality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A pure functional Primality Test in Scala

License: MIT

A simple primality test in Scala, using

6k ± 1
optimization.

Learn more

This piece of code is described in this DEV.TO article.

Build with SBT

  1. Install 'sbt' from here: http://www.scala-sbt.org/download.html

  2. Run a sbt shell with

    cd [project dir]
    sbt
    
  3. Compile with

    compile
    
  4. Run with

    run
    

About

A pure functional Primality Test in Scala

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages