bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] How does awk implement extremely long integers?


From: Nelson H. F. Beebe
Subject: Re: [bug-gawk] How does awk implement extremely long integers?
Date: Thu, 2 Feb 2012 08:35:51 -0700 (MST)

>> I assume the modified gcc has additional format specifiers to print
>> "long" integers?

It is not the compiler, but rather the library, that contains input
and output support.  There are extensions to the printf() and
scanf() families in -lmcw that support 80-bit and 128-bit binary
floating point, and 32-bit, 64-bit, and 128-bit decimal floating
point.  The integer support is as with C99: int, long int, and 
long long int.  There are no arbitrary-precision integers: that
is what -lgmp and -lmpfr are for.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



reply via email to

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