On Mon, 2007-03-26 at 00:10 -0700, Erick Tryzelaar wrote:
> skaller wrote:
> > you're trying to divide a string by a long double .. :)
>
> Thats felix's fault, not mine :)
Maybe ..
"flx::rtl::strutil::flx_asprintf(const_cast<char*>($1.c_str()),$T2)"
^^
should be $2, not $T2
> fun format_real (t:double, precision:int) : string = {
> var format = f"%%.%ig" precision;
^^^^^^
Invalid format, you have to use Lg for long double.
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language