Lines Matching full:factor
1 /* factor.c - Factor integers
5 * See https://man7.org/linux/man-pages/man1/factor.1.html
7 * -h and -x options come from https://man.netbsd.org/factor.6
9 USE_FACTOR(NEWTOY(factor, "?hx", TOYFLAG_USR|TOYFLAG_BIN))
11 config FACTOR
12 bool "factor"
15 usage: factor NUMBER...
17 Factor integers.
26 static void factor(char *s) in factor() function
51 // Negative numbers have -1 as a factor in factor()
76 if (toys.optc) for (ss = toys.optargs; *ss; ss++) factor(*ss); in factor_main()
79 factor(s); in factor_main()