Confusion with gmp_printf

Bruce M. Axtens bruce.axtens at gmail.com
Sun Jan 25 17:43:53 CET 2009


    buff = mpf_get_str( NULL, &exp, 10, 0, res );
    dtl = exp;
    dtr = strlen( buff ) - exp;
    gmp_printf ("%*.*Ff\n", dtl, dtr, res );

Which actually works.


More information about the gmp-discuss mailing list