Command to output the number of digits of factorial of 2.
# $(()): calc by arithmetic expressions
# wc: count the number of digits
$ echo -n $((2 ** 32)) | wc -c
We're a place where coders share, stay up-to-date and grow their careers.
Command to output the number of digits of factorial of 2.
# $(()): calc by arithmetic expressions
# wc: count the number of digits
$ echo -n $((2 ** 32)) | wc -c
Nick Taylor (he/him) -
Thomas Jaskiewicz -
Kevin Woblick -
Josh Medeski -
Discussion