Deutsch   English   Français   Italiano  
<ldeid0F93giU5@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: vallor <vallor@cultnix.org>
Newsgroups: comp.os.linux.advocacy
Subject: [OT] Re: C Non-Programming Non-Challenge
Date: 18 Jun 2024 23:09:20 GMT
Lines: 21
Message-ID: <ldeid0F93giU5@mid.individual.net>
References: <17d933d9ffc8ee40$16989$3694546$802601b3@news.usenetexpress.com>
	<17d943beaefb3aa2$16097$2041738$802601b3@news.usenetexpress.com>
	<rPadnWt9mtOO9PP7nZ2dnZfqn_qdnZ2d@supernews.com>
	<ld7lfuF433iU2@mid.individual.net>
	<666f2f33$0$3102233$882e4bbb@reader.netnews.com>
	<ld9ct8F8s0rU5@mid.individual.net>
	<6670fe94$0$989$882e4bbb@reader.netnews.com>
	<ldeebsF93giU2@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net kSUUkvNZogjt8XdMj7weVQLUcv9ZjUT2T0U+31yCaNXxadPmdi
Cancel-Lock: sha1:YI+5vp4r6HVY1P7VkNxhnYG+JEQ= sha256:UWmgTewVP/4v2RFPNc/csrDWRfYz1kv3Ev3wvQJ9mlk=
X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl
 CaKku`)]}.V/"6rISCIDP`
User-Agent: Pan/0.159 (Vovchansk; 873418b; Linux-6.9.5)
Bytes: 1909

On 18 Jun 2024 22:00:28 GMT, vallor <vallor@cultnix.org> wrote in
> What does the README say?  "needs GMP" or something like that.
> 
> It also asks you for a license.  In a split-second decision,
> I picked "MIT".
> 
>> ha!  VERY FOSS cheesy!
> 
> Nobody cares, it's a trivial exercise.

But since someone might care about the formatter function,
I made it return a free()-able memory handle.

https://github.com/vallor/subfactorial/blob/main/format_longnum.c

(And this time, it _is_ off-topic, since it is portable C.)

-- 
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
   OS: Linux 6.9.5tweaked Release: Mint 21.3 Mem: 258G
   "NEWS! Enraged cow injures farmer with ax"