X-Spam-Check-By: sourceware.org Message-ID: <2503.83.41.35.83.1164412420.squirrel@mail.arsystel.com> In-Reply-To: <56342.204.104.55.242.1158785720.squirrel@mail.arsystel.com> References: <23401 DOT 204 DOT 104 DOT 55 DOT 242 DOT 1158767331 DOT squirrel AT mail DOT arsystel DOT com> <56342 DOT 204 DOT 104 DOT 55 DOT 242 DOT 1158785720 DOT squirrel AT mail DOT arsystel DOT com> Date: Sat, 25 Nov 2006 00:53:40 +0100 (CET) Subject: Re: llrint() into math.h From: =?iso-8859-1?Q?V=EDctor_Paesa?= To: cygwin AT cygwin DOT com User-Agent: SquirrelMail/1.4.2-0.1.7.x MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, >>> I will ask in newlib list, as you have kindly suggested. >> >> I have interest in llrint too. What did the newlib-guys answer? > > Victor never asked, from the looks of it. Right, I changed mind and never wrote, I decided to add it into my sources via this: #ifndef llrint inline long long int llrint (double x) { long long int llrintres; asm ("fistpll %0" : "=m" (llrintres) : "t" (x) : "st"); return llrintres; } #endif Regards, Víctor -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/