Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Math

Method Math.factor()


Method factor

array(int) 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.