X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=SBftSorh899hFfqBa8mrEzz8SIc/Ls4+dRn5mnnKYh8=; b=O/D9qmY1EtlFmRIqm5e7X1A9eMdxZJR2wj0iCq4S1adpIz1gE95UyjKisKMfeLbCn0 oTvdoKrJzkNOZrTbJJnjQT32PexkkE2iMRk5DLTmWzM9zyCcdOuzN4fheOwR99K7MSE8 nOOvdQBRf50Iwp3XT24jovQOtfOa6RLihDzDG1EaJ6ikuZLFNoGU4TcjpTlI4ysk113Z 8JjPLXhMiNJQH940MtWf7mjBtGYKjiSN81yrZ/2KKeUmtytkezlT5nW+lKjfE0FKkECq 9nAoU1MxmeoOcT1wWSy3GTlbJKjiW2fZiJkLDu17aWkKr0XZRXFa9fJvc49scwZpT/j5 oBjQ== MIME-Version: 1.0 X-Received: by 10.60.68.135 with SMTP id w7mr3175029oet.9.1379631598948; Thu, 19 Sep 2013 15:59:58 -0700 (PDT) In-Reply-To: <523B7D0C.5010508@gmx.de> References: <523A2796 DOT 8040908 AT gmx DOT de> <523B7D0C DOT 5010508 AT gmx DOT de> Date: Thu, 19 Sep 2013 17:59:58 -0500 Message-ID: Subject: Re: Implementation of the [l]lrint[f|l] family of functions. From: Rugxulo To: djgpp-workers AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi, On Thu, Sep 19, 2013 at 5:39 PM, Juan Manuel Guerrero wrote: > Am 19.09.2013 01:29, schrieb Rugxulo: > > But writing the code makes more fun than copying and pasting the code > of someone else. Yes, of course, but I personally wasn't up to writing my own, so I had to search elsewhere. And of course I couldn't travel into the future to use your (as-yet-unwritten) version. :-) > It has also the benefit that I do not need to care > about copyright issues that may raise IIRC, I checked, and the licensing from newlib was acceptable. > and as long as my own code is not > substantially worse than the code of others I will prefer my own one. Well, half of my point was "here's something for you to cross-build" if you want to (very roughly) test your implementation. I mean, I don't even know where in which functionality (or how often) lrintf is used in mutool, but it did successfully build for me with DJGPP a few months ago, so I don't think it's the worst example. And, BTW, the sources include necessary third-party libs, so you don't have to download loads of extras. But IIRC it surpasses the eight-subdir limit of DOS, so you probably can't natively build it there without tweaks.