Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 17:27:54 -0700
From:      Adam Weinberger <adam@vectors.cx>
To:        edscott wilson garcia <edscott@imp.mx>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: long doubles in FreeBSD
Message-ID:  <20020912002754.GD87510@vectors.cx>
In-Reply-To: <1031789868.1703.24.camel@sagitario.eco.imp.mx>
References:  <1031789868.1703.24.camel@sagitario.eco.imp.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020912002754.GD87510>