File: |
libs/Classes/Prime.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
Checks if the number is prime; gets the next prime number; gets the previous prime number; and other operations |
Class: |
Math
Perform several types of operations with numbers |
Author: |
By Assaad Youssef Abou Rached |
Last change: |
Fixed the algorithm. It now runs 25x faster than the previous one. |
Date: |
10 years ago |
Size: |
2,008 bytes |
|
|
|