JCL Help:IsPrime

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Determines whether a value is a prime number.


Pascal

 IsPrime: function(N: Cardinal): Boolean = IsPrimeTD;


Parameters

Parameters Description
N The value to test.


Description

Determines whether the value N is a prime number according the currently active Primality Test. You should set the Primality Test using the SetPrimalityTest function.


See Also

SetPrimalityTest


About

Unit

JclMath


Donator

Matthias Thoma


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page