mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nicolas Pitre <nico@fluxnic.net>
To: "Andrew Morton" <akpm@linux-foundation.org>,
	"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Cc: Nicolas Pitre <npitre@baylibre.com>, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] mul_u64_u64_div_u64: new implementation
Date: Tue,  2 Jul 2024 23:34:07 -0400	[thread overview]
Message-ID: <20240703033552.906852-1-nico@fluxnic.net> (raw)

This provides an implementation for mul_u64_u64_div_u64() that always
produces exact results.

Changes from v1 (https://lkml.org/lkml/2024/6/28/1130):

- Use the already available u128 type instead of "unsigned __int128".
- Add a test module.

             reply	other threads:[~2024-07-03  3:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-03  3:34 Nicolas Pitre [this message]
2024-07-03  3:34 ` [PATCH v2 1/2] mul_u64_u64_div_u64: make it precise always Nicolas Pitre
2024-07-04 17:26   ` Uwe Kleine-König
2024-07-04 21:16     ` Nicolas Pitre
2024-07-05 10:19       ` Uwe Kleine-König
2024-07-05 12:21         ` Nicolas Pitre
2024-07-03  3:34 ` [PATCH v2 2/2] mul_u64_u64_div_u64: basic sanity test Nicolas Pitre
2024-07-03 17:35   ` Andrew Morton
2024-07-03 17:47     ` Nicolas Pitre
2024-07-03 21:36       ` Uwe Kleine-König
2024-07-04  6:40         ` Biju Das
2024-07-04  8:56           ` Biju Das
2024-07-04 16:42         ` Uwe Kleine-König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240703033552.906852-1-nico@fluxnic.net \
    --to=nico@fluxnic.net \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=npitre@baylibre.com \
    --cc=u.kleine-koenig@baylibre.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®