mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] 128-bit integer I/O
       [not found] <trinity-86135ddd-6282-4d56-969f-ec2227a745e6-1648734580899@3c-app-gmx-bs42>
@ 2025-03-21 11:20 ` newbie nullzwei
  2025-03-21 12:51   ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: newbie nullzwei @ 2025-03-21 11:20 UTC (permalink / raw)
  To: musl


hello @ all,

not very familiar with musl I'd see a thread about 128-bit integers
from ~2023-05. Among other it states:

> Nobody has been asking to be able to printf 128-bit numbers in
> decimal. They've been asking to be able to use 128- or even 256-bit
> integers in vector ops, crypto math, ipv6 routing, etc.

For me it's odd to have a datatype without adequate I/O, but I found
none qualified on the web, thus - tried to - roll(ed) my own.

intlib128: [ https://gitlab.gnome.org/newbie-02/libint128/-/tree/main ]

Questions:
- someone reading here who'd like to make a review on that project,
I'm not experienced but just learning about coding and publishing.

If musl doesn't have 128-bit integer I/O? or evtl. C23 only? would you
like to adopt / assimilate / improve that project?

best regards,



Bernhard


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [musl] 128-bit integer I/O
  2025-03-21 11:20 ` [musl] 128-bit integer I/O newbie nullzwei
@ 2025-03-21 12:51   ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2025-03-21 12:51 UTC (permalink / raw)
  To: newbie nullzwei; +Cc: musl

On Fri, Mar 21, 2025 at 11:20:00AM +0000, newbie nullzwei wrote:
> 
> hello @ all,
> 
> not very familiar with musl I'd see a thread about 128-bit integers
> from ~2023-05. Among other it states:
> 
> > Nobody has been asking to be able to printf 128-bit numbers in
> > decimal. They've been asking to be able to use 128- or even 256-bit
> > integers in vector ops, crypto math, ipv6 routing, etc.
> 
> For me it's odd to have a datatype without adequate I/O, but I found
> none qualified on the web, thus - tried to - roll(ed) my own.

We don't have the datatype, intentionally, for the reason you say. It
may be available as a compiler extension prefixed by __, but it's not
in the scope of the interfaces musl offers.

Rich

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-21 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <trinity-86135ddd-6282-4d56-969f-ec2227a745e6-1648734580899@3c-app-gmx-bs42>
2025-03-21 11:20 ` [musl] 128-bit integer I/O newbie nullzwei
2025-03-21 12:51   ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).