From: John Peacock Date: Wed, 24 Oct 2001 16:53:29 +0000 (-0400) Subject: - was RE: [PATCH perl@12443] VMS64-bitconfigure X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9fd42072b1947c42c95f243fb6e7da4bdf17f182;p=p5sagit%2Fp5-mst-13.2.git - was RE: [PATCH perl@12443] VMS64-bitconfigure Message-ID: <3BD72A49.1508D152@rowman.com> p4raw-id: //depot/perl@12630 --- diff --git a/configure.com b/configure.com index 04144ad..cb4654a 100644 --- a/configure.com +++ b/configure.com @@ -4990,7 +4990,13 @@ $ WC "cpplast='" + cpplast + "'" $ WC "cppminus='" + cppminus + "'" $ WC "cpprun='" + cpprun + "'" $ WC "cppstdin='" + cppstdin + "'" -$ WC "d_Gconvert='my_gconvert(x,n,t,b)'" +$ IF use64bitint .OR. use64bitint .EQS. "define" +$ THEN +$! gcvt() does not work for > 16 decimal places; fallback to sprintf +$ WC "d_Gconvert='sprintf((b),""%.*" + (nvgformat-"""") + ",(n),(x))'" +$ ELSE +$ WC "d_Gconvert='my_gconvert(x,n,t,b)'" +$ ENDIF $ WC "d_PRIEldbl='" + d_PRIEUldbl + "'" $ WC "d_PRIFldbl='" + d_PRIFUldbl + "'" $ WC "d_PRIGldbl='" + d_PRIGUldbl + "'"