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 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: References: <17d933d9ffc8ee40$16989$3694546$802601b3@news.usenetexpress.com> <17d943beaefb3aa2$16097$2041738$802601b3@news.usenetexpress.com> <666f2f33$0$3102233$882e4bbb@reader.netnews.com> <6670fe94$0$989$882e4bbb@reader.netnews.com> 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 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"