X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Message-ID: <523B7D0C.5010508@gmx.de> Date: Fri, 20 Sep 2013 00:39:08 +0200 From: Juan Manuel Guerrero User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2 MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Implementation of the [l]lrint[f|l] family of functions. References: <523A2796 DOT 8040908 AT gmx DOT de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:WCPlJ5F1k8TJ2LqI4h+PTXizlB1Wz+CnEXi/Sx5K4xspvHQx6Z8 EOmbA85VqctDXgdUrAUdKcfQ+S26EiRx3AFRs7RBYDPMJTcsIhFp0qC/kpFzbNXLKgId0rL Ic1OU/XfrsA2GtRyH5g5OW75HPY8dnfa67TU7LtWhihzSAiAvbXMYzqkKGDCCTPD+dVv5Hi 3c/dNRvyBPsF6j28eHmNg== Reply-To: djgpp-workers AT delorie DOT com Am 19.09.2013 01:29, schrieb Rugxulo: > Hi, > > On Wed, Sep 18, 2013 at 5:22 PM, Juan Manuel Guerrero > wrote: >> Below is a patch that shall provide the implementation of the [l]lrint[f|l] >> family of functions in libm.a. Some test cases have been added. I have >> compiled and tested the code with gcc473 and the djcross-gcc481. >> As usual suggestions, objections and comments are welcome. > This probably isn't much help, but approx. five months ago, I did > cross-compile "mutool" (1.2, from MuPDF) via Ozkan's (GCC 3.4.6) > Linux-hosted cross-compiler. It didn't have lrintf, so I had to borrow > one from newlib. MuPDF 1.3 was actually released last month, but I > haven't tried again lately. > > (Note that "mutool" basically does various minor things, including > render to .png for use with an external image viewer, hence it's not > ideal but better than nothing, at least for DOS users. There were at > least two older [rough] ports of MuPDF viewer to DJGPP, but they > weren't ever publicly finalized and left a lot to be desired.) > > http://www.bttr-software.de/forum/board_entry.php?id=11498#p12541 > > http://ftp.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/file/mupdf/ But writing the code makes more fun than copying and pasting the code of someone else. It has also the benefit that I do not need to care about copyright issues that may raise and as long as my own code is not substantially worse than the code of others I will prefer my own one. Regards, Juan M. Guerrero