Groups | Search | Server Info | Login | Register


Groups > comp.os.ms-windows.programmer.win32 > #8649

Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up

From malxau <address@is.invalid>
Newsgroups comp.os.ms-windows.programmer.win32, alt.comp.os.windows-xp, alt.windows7.general
Subject Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up
Date 2026-03-22 17:32 +0000
Organization A noiseless patient Spider
Message-ID <10pp93b$3fnhe$1@dont-email.me> (permalink)
References (10 earlier) <10pj26q$1efr9$1@dont-email.me> <10pkhi5$1vvac$1@dont-email.me> <10pln4m$2aje7$1@dont-email.me> <10pmoc8$2m0vv$1@dont-email.me> <10pmtv6$2o0n3$1@dont-email.me>

Cross-posted to 3 groups.

Show all headers | View raw


In comp.os.ms-windows.programmer.win32 R.Wieser <address@is.invalid> wrote:
> You can do a 64-bit division with the aid of two 32-bit divisions :

Ouch, you're right; turns out I did that and forgot.

> Most all NTDLL functions are STDCALL.   No need to do such a conversion.

The problem is that Visual C++ emits function calls for extended
arithmetic that aren't stdcall.  If C code performs a divide nearby a
mod, for example, it can emit a call to _aulldvrm, which returns two 64
bit values in four 32 bit registers.  The shift functions pass the shift
width in cl, because that's what the CPU would normally use, etc.

- M

Back to comp.os.ms-windows.programmer.win32 | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

wsprintf I64 - how to get it to include a plus sign ? "R.Wieser" <address@is.invalid> - 2026-01-07 09:35 +0100
  Re: wsprintf I64 - how to get it to include a plus sign ? JJ <jj4public@gmail.com> - 2026-01-07 17:49 +0700
    Re: wsprintf I64 - how to get it to include a plus sign ? "R.Wieser" <address@is.invalid> - 2026-01-07 12:27 +0100
      Re: wsprintf I64 - how to get it to include a plus sign ? "R.Wieser" <address@is.invalid> - 2026-01-07 21:08 +0100
        Re: wsprintf I64 - how to get it to include a plus sign ? "R.Wieser" <address@is.invalid> - 2026-01-07 21:14 +0100
          Re: wsprintf I64 - how to get it to include a plus sign ? Paul <nospam@needed.invalid> - 2026-01-07 17:04 -0500
            Re: wsprintf I64 - how to get it to include a plus sign ? "R.Wieser" <address@is.invalid> - 2026-01-08 08:00 +0100
              Re: wsprintf I64 - how to get it to include a plus sign ? Paul <nospam@needed.invalid> - 2026-01-08 08:12 -0500
                Re: wsprintf I64 - how to get it to include a plus sign ? "R.Wieser" <address@is.invalid> - 2026-01-08 18:23 +0100
                Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up "R.Wieser" <address@is.invalid> - 2026-01-09 13:51 +0100
                Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up malxau <address@is.invalid> - 2026-03-20 05:46 +0000
                Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up "R.Wieser" <address@is.invalid> - 2026-03-20 09:44 +0100
                Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up malxau <address@is.invalid> - 2026-03-20 22:26 +0000
                Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up "R.Wieser" <address@is.invalid> - 2026-03-21 09:57 +0100
                Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up malxau <address@is.invalid> - 2026-03-21 18:34 +0000
                Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up "R.Wieser" <address@is.invalid> - 2026-03-21 21:09 +0100
                Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up malxau <address@is.invalid> - 2026-03-22 17:32 +0000
                Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up "R.Wieser" <address@is.invalid> - 2026-03-22 18:58 +0100
                Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up "Kerr-Mudd, John" <admin@127.0.0.1> - 2026-03-22 11:18 +0000

csiph-web