flat assembler
Message board for the users of flat assembler.

Index > Windows > msvcrt printf print long double ( %Lf ) is possible ?

Author
Thread Post new topic Reply to topic
3D_FASM



Joined: 11 May 2023
Posts: 24
3D_FASM 03 Jun 2023, 11:17
For example is possible to print ten bytes double numbers as:

Code:
test dt 1234567890.123456789    
Post 03 Jun 2023, 11:17
View user's profile Send private message Reply with quote
3D_FASM



Joined: 11 May 2023
Posts: 24
3D_FASM 03 Jun 2023, 11:57
I think this impossible... when msvcrt meant %Lf format as a simple qword double...
Post 03 Jun 2023, 11:57
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20300
Location: In your JS exploiting you and your system
revolution 04 Jun 2023, 00:28
The documentation is ambiguous by stating "long double" when it is plain double.

AFAICT there is no support for tbyte size in MSVCRT.
Post 04 Jun 2023, 00:28
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.