It's not a bug, precision value must be set in the follwing way:
awk -M -v PREC=10000 'BEGIN {  x = 1;  y = 1;  result = 4*atan2 (y,x);  printf 
" %.50f\n", result}'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1805003

Title:
  precision for floating number fails after 15th decimal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gawk/+bug/1805003/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to