pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
Math

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.

Module reference for Pike v7.8 release 116, 2008-12-31