🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user.french
Article #53

routine de conversion (64 bits non signés) en base 36

#53
From: Basile STARYNKEVITCH
Date: Sun, 18 Oct 2026 21:00
31 lines
3498 bytes
Bonsoir la liste

strtol peut convertir une chaîne de caractères en un entier long en
base 36.

je cherche une routine (libre, compatible LGPL ou CeCILL) qui fasse la
conversion réciproque.


https://github.com/bstarynk/boehm-rps/blob/main/util.c (son commit
9766f7e521d42) en contient une (ligne 60 à 95) mais je la crois boguée.

Si quelqu'un connait une telle fonction en logiciel libre (compatible
LGPL ou CeCILL) qui soit correcte et rapide je serais reconnaissant.

Merci


-- 

Basile STARYNKEVITCH                           
<basile@starynkevitch.net>
8 rue de la Faïencerie                      
http://starynkevitch.net/Basile/  
92340 Bourg-la-Reine                        
https://github.com/bstarynk
France                               
https://github.com/RefPerSys/RefPerSys
                  https://orcid.org/0000-0003-0908-5250
Technical Details
Message-ID: <NPG93-6oSs-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Basile STARYNKEVITCH <basile@starynkevitch.net>
Newsgroups: linux.debian.user.french
Subject: routine de conversion (64 bits non signés) en  base 36
Date: Sun, 18 Oct 2026 23:00:01 +0200
Message-ID: <NPG93-6oSs-1@gated-at.bofh.it>
X-Original-To: debian-user-french@lists.debian.org
X-Mailbox-Line: From debian-user-french-request@lists.debian.org  Sun Oct 18 20:59:01 2026
Old-Return-Path: <basile@starynkevitch.net>
X-Amavis-Spam-Status: No, score=-2.8 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .starynkevitch. - helo: .relay6-d.mail.gandi. - helo-domain: .gandi.)  FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.56.2-10+b1 
MIME-Version: 1.0
X-Gnd-Sasl: basile@starynkevitch.net
X-Gnd-State: clean
X-Gnd-Cause: dmFkZTEnYXz15BIhFeI+dS3ibMG+rKxX1uzA8tnqv36c1rKpinfFxsVz0VtnBi+PbcSnfRN1wAUfqKYG2aSHW0g41SBgSCjgfD7bet2SKJfBcFffsEa9kfAxILaL4IDRqppBaoGakW6FzKynxK7egkTYOFb3RiSi/pjqW/WXxq5VbH6e1e+N2R1q1KhdPPqiYI4wQrm/acU/59i3yS01inIwkVMyEP1JjDX8ET8J6FoZ/InhvW21uO3bii02UHq7049FBLVA7PEtI91ux0UmjfXHnv8AYS+2Ay3LjstbCe3mBZsmLC/yPySLd2WumeASWk3I3BEdipDB2JU3CKvI9h2dPirXgO4YmzEEoPEJ/AybEZn9J6Rd1fJaxBDzwa3D4wu0WauejV8cwiGzeoQG9u3MZLDPGUhusknyU8atps/ewnJ8eTuRl1ZA6kGsy3jPrhqAE/pOIVppSAxfbgK+GmSwyfXoWxI6LowOT3uiHscEDBKN4gJxaDjz1z4bU94ghdLtcRlj/ekR1GBBVGemfZde/RBGj2EJeqn38aM8H7GzHMbOjntxIkZ1HbUbqTlJP/7tCEVqCK2JDNMiw6C2eUnU5xPjtjqCP+MFfwWmJaa0zTGoHoErfljN7ahBsIioQvdTJODPBz1R9lA/hK3OEuUHqBE2DE58ZX/UQfncYlle7uD+sw
X-Mailing-List: <debian-user-french@lists.debian.org> archive/latest/239420
List-ID: <debian-user-french.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user-french/>
List-Archive: https://lists.debian.org/msgid-search/30a159f8a517a1ec669e0d244bf02a890c2e8a40.camel@starynkevitch.net
Approved: robomod@news.nic.it
Lines: 31
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 18 Oct 2026 22:58:47 +0200
X-Original-Message-ID: <30a159f8a517a1ec669e0d244bf02a890c2e8a40.camel@starynkevitch.net>