From 633a5c8862a54db17b02cebf3d24c780acdfce02 Mon Sep 17 00:00:00 2001 From: Jens Gustedt <Jens.Gustedt@inria.fr> Date: Sat, 26 Nov 2022 18:04:40 +0100 Subject: [PATCH] copy and paste error found by Marek Knapek --- README.html | 8 ++++---- README.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.html b/README.html index 4417736..b01590f 100644 --- a/README.html +++ b/README.html @@ -5,7 +5,7 @@ <meta name="generator" content="pandoc" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <meta name="author" content="Jens Gustedt" /> - <meta name="dcterms.date" content="2022-11-23" /> + <meta name="dcterms.date" content="2022-11-26" /> <title>C23 implications for C libraries</title> <style> code{white-space: pre-wrap;} @@ -682,7 +682,7 @@ <header id="title-block-header"> <h1 class="title">C23 implications for C libraries</h1> <p class="author">Jens Gustedt</p> -<p class="date">2022-11-23</p> +<p class="date">2022-11-26</p> </header> <nav id="TOC" role="doc-toc"> <ul> @@ -915,8 +915,8 @@ <span id="cb1-4"><a href="#cb1-4" aria-hidden="true"></a><span class="kw">typedef</span> <span class="kw">unsigned</span> __int128 uint128_t<span class="op">;</span></span> <span id="cb1-5"><a href="#cb1-5" aria-hidden="true"></a><span class="kw">typedef</span> <span class="kw">signed</span> __int128 int_fast128_t<span class="op">;</span></span> <span id="cb1-6"><a href="#cb1-6" aria-hidden="true"></a><span class="kw">typedef</span> <span class="kw">unsigned</span> __int128 uint_fast128_t<span class="op">;</span></span> -<span id="cb1-7"><a href="#cb1-7" aria-hidden="true"></a><span class="kw">typedef</span> <span class="kw">signed</span> __int128 int_fast128_t<span class="op">;</span></span> -<span id="cb1-8"><a href="#cb1-8" aria-hidden="true"></a><span class="kw">typedef</span> <span class="kw">unsigned</span> __int128 uint_fast128_t<span class="op">;</span></span> +<span id="cb1-7"><a href="#cb1-7" aria-hidden="true"></a><span class="kw">typedef</span> <span class="kw">signed</span> __int128 int_least128_t<span class="op">;</span></span> +<span id="cb1-8"><a href="#cb1-8" aria-hidden="true"></a><span class="kw">typedef</span> <span class="kw">unsigned</span> __int128 uint_least128_t<span class="op">;</span></span> <span id="cb1-9"><a href="#cb1-9" aria-hidden="true"></a><span class="pp"><span class="kw"># define</span> UINT128_MAX ((uint128_t)-1)</span></span> <span id="cb1-10"><a href="#cb1-10" aria-hidden="true"></a><span class="pp"><span class="kw"># define</span> INT128_MAX ((int128_max)+(UINT128_MAX/2))</span></span> <span id="cb1-11"><a href="#cb1-11" aria-hidden="true"></a><span class="pp"><span class="kw"># define</span> INT128_MIN (-INT128_MAX-1)</span></span> diff --git a/README.md b/README.md index 7736f66..423b4f1 100644 --- a/README.md +++ b/README.md @@ -144,8 +144,8 @@ typedef signed __int128 int128_t; typedef unsigned __int128 uint128_t; typedef signed __int128 int_fast128_t; typedef unsigned __int128 uint_fast128_t; -typedef signed __int128 int_fast128_t; -typedef unsigned __int128 uint_fast128_t; +typedef signed __int128 int_least128_t; +typedef unsigned __int128 uint_least128_t; # define UINT128_MAX ((uint128_t)-1) # define INT128_MAX ((int128_max)+(UINT128_MAX/2)) # define INT128_MIN (-INT128_MAX-1) -- GitLab