bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] Is -M enabled by default?


From: Peng Yu
Subject: [bug-gawk] Is -M enabled by default?
Date: Mon, 12 Feb 2018 16:42:26 -0600

Hi,

https://www.gnu.org/software/gawk/manual/html_node/Arbitrary-Precision-Integers.html

It sounds like gawk does not enable arbitrary-precision integer
arithmetic by default. But the following example shows the opposite.

awk -e 'BEGIN{ x = 1; for(i=1;i<1000;++i) { x = x * 2; print x} }'

Do I misunderstand the manual? When does awk use int32, int64 or
int128 for an integer?

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]