Oct 12, 2005 #1 Mag0007 MIS Feb 15, 2005 829 US Hi: I am trying to do some intensive numeric calculations with awk. What are awk's limits? I am trying to a summation of a VERY large number, such as 4096^5 for starters... any advice? is it possible to pipe to 'bc' with awk?
Hi: I am trying to do some intensive numeric calculations with awk. What are awk's limits? I am trying to a summation of a VERY large number, such as 4096^5 for starters... any advice? is it possible to pipe to 'bc' with awk?
Oct 13, 2005 #2 feherke Programmer Aug 5, 2002 9,540 RO Hi Never read about such detail. You can use [tt]bc[/tt], of course : Code: BEGIN { "echo " number "^" power | bc" | getline result print result } Feherke. http://rootshell.be/~feherke/ Upvote 0 Downvote
Hi Never read about such detail. You can use [tt]bc[/tt], of course : Code: BEGIN { "echo " number "^" power | bc" | getline result print result } Feherke. http://rootshell.be/~feherke/