From owner-freebsd-questions Wed Sep 11 17:25:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F13C337B400 for ; Wed, 11 Sep 2002 17:25:53 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id D151343E6E for ; Wed, 11 Sep 2002 17:25:52 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (a6b6e02e515f21ef792d7482a4504eed@localhost [127.0.0.1]) by vectors.cx (8.12.4/8.12.4) with ESMTP id g8C0Rt2e088241; Wed, 11 Sep 2002 17:27:55 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.4/8.12.4/Submit) id g8C0RtF4088240; Wed, 11 Sep 2002 17:27:55 -0700 (PDT) (envelope-from monkey) Date: Wed, 11 Sep 2002 17:27:54 -0700 From: Adam Weinberger To: edscott wilson garcia Cc: freebsd-questions@FreeBSD.ORG Subject: Re: long doubles in FreeBSD Message-ID: <20020912002754.GD87510@vectors.cx> References: <1031789868.1703.24.camel@sagitario.eco.imp.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1031789868.1703.24.camel@sagitario.eco.imp.mx> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG you're looking for %Lf from printf(3): o The character L specifying that a following e, E, f, g, or G conversion corresponds to a long double argument. -Adam >> (09.11.2002 @ 1717 PST): edscott wilson garcia said, in 0.5K: << > > I recently improved a fractal generating program by switching from > double to long double. (http://gmandel.sourceforge.net). It works fine > in Linux, but has problems in FreeBSD. It seems that "%llf" does not > work for sprintf() and sscanf() with long doubles. > > Is this a known issue? Is there a different way to specify format > strings for long doubles in FreeBSD? > > TIA > > Edscott Wilson Garcia > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > >> end of "long doubles in FreeBSD" from edscott wilson garcia << -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx http://vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message