Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Math

Method Math.factor()


Method factor

array(int) Math.factor(int x)

Description

Factorize the integer x . The returned list of factors will be sorted biggest to smallest factor.

Note

This function is only available when Pike has been compiled with bignums.