• Re: 128 bit integers

    From fabien carpignano@21:1/5 to All on Wed Apr 5 13:30:35 2023
    Le jeudi 28 juillet 2005 à 15:10:11 UTC+2, jacob navia a écrit :
    A customer has asked me to add 128 bit integers to the 64 bit
    version of my compiler system (lcc-win64).
    After developing the assembly procedures, I have several
    questions:
    1) How should I name this stuff?
    long long long ???
    __int128 ?
    int128 ?
    2) How would this integers get printed with printf?
    "%llld" ?
    "%I128d" ?
    3) Should I supply definitions for it in inttypes.h, and in
    stdint.h ?
    4) What other implications can this new type have? I would have
    loved to use long long for this, long for 64 bit, int for 32
    bits, etc. But this is not possible for compatibility reasons.
    There is too much software there that assumes long long is 64 bits,
    not 128.
    jacob
    http://www.cs.virginia.edu:/~lcc-win32
    x64-128 pour inltel tu la deja 12 et 13 genertion mai il faux changet larchitecture paur amd x64_128

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arnold Ziffel@21:1/5 to fabien carpignano on Fri Apr 7 01:12:48 2023
    fabien carpignano <fade@fade.airforce> wrote:

    x64-128 pour inltel tu la deja 12 et 13 genertion mai il faux changet larchitecture paur amd x64_128

    Could you please write in English?

    --
    You cannot tame a tiger by pulling but one of his teeth.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Keith Thompson@21:1/5 to Arnold Ziffel on Thu Apr 6 21:59:33 2023
    arnold@hooterville.invalid (Arnold Ziffel) writes:
    fabien carpignano <fade@fade.airforce> wrote:

    x64-128 pour inltel tu la deja 12 et 13 genertion mai il faux changet
    larchitecture paur amd x64_128

    Could you please write in English?

    When replying to an article from 18 years ago?

    --
    Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
    Working, but not speaking, for XCOM Labs
    void Void(void) { Void(); } /* The recursive call of the void */

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arnold Ziffel@21:1/5 to Keith Thompson on Sat Apr 8 00:36:51 2023
    Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:

    x64-128 pour inltel tu la deja 12 et 13 genertion mai il faux changet
    larchitecture paur amd x64_128

    Could you please write in English?

    When replying to an article from 18 years ago?

    Even then ;)

    --
    A complex system that works is invariably found to have evolved from a
    more simple system that worked.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)