From: Craig A. Berry Date: Tue, 11 Dec 2001 16:39:13 +0000 (-0600) Subject: Gconvert for VMS again X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=79f41ce5e5e3ebe21c57d69b39c2a3b2634ae32e;p=p5sagit%2Fp5-mst-13.2.git Gconvert for VMS again Message-Id: <5.1.0.14.2.20011211162600.02a4b008@exchi01> p4raw-id: //depot/perl@13634 --- diff --git a/configure.com b/configure.com index d58093d..d1abb3a 100644 --- a/configure.com +++ b/configure.com @@ -5083,7 +5083,13 @@ $ WC "cpplast='" + cpplast + "'" $ WC "cppminus='" + cppminus + "'" $ WC "cpprun='" + cpprun + "'" $ WC "cppstdin='" + cppstdin + "'" +$ 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 + "'"