PHP Classes

Math prime: Determine whether a number is prime

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-04-19 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 248 All time: 7,267 This week: 1,445Up
Version License PHP version Categories  
math_prime 4GNU General Publi...5.0PHP 5, Math
Description Author  

This class can be used to determine whether a number is prime.

It performs several checks to find a number that divides the number to be tested with remainder 0.

The class returns a boolean value when it determines whether the number is prime.

Picture of bobak
Name: bobak <contact>
Classes: 7 packages by
Country: France France
Age: ???
All time rank: 36321 in France France
Week rank: 581 Down23 in France France Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file math_prime.php Class class
Accessible without login Plain text file math_prime_test.php Example exemple & test

 Version Control Unique User Downloads Download Rankings  
 0%Total:248All time:7,267
 This week:0This week:1,445Up