/* C---------------------------------------------------------------------- CProgramtotestCSQRT C CAccuracytestsarebasedontheidentity C Cz=sqrt(z*z) C CDatarequired: C CNone C CSubprogramsrequiredfromthispackage: C CMACHAR-Anenvironmentalinquiryprogramproviding Cinformationonthefloatingpointarithmetic Csystem.NotethatthecalltoMACHARcan Cbedeletedprovidedthefollowingfour Cparametersareassignedthevaluesindicated: C CIBETA-theradixofthefloatingpointsystem; CIT-thenumberofbase-IBETAdigitsinthe Csignificandofafloating-pointnumber; CXMIN-thesmallestnon-vanishingfloating-point Cpoweroftheradix; CXMAX-thelargestfinitefloating-pointno. C CREN(K)-afunctionsubprogramreturningrandomreal Cnumbersuniformlydistributedover(0,1) C CRESET,TABLAT,REPORT-programstoreportresults. C C CGenericFortransubprogramsrequired: C CABS,CMPLX(orDCMPLX),LOG,REAL(orDBLE),SQRT C CTheprogramasgivenheremustbemodifiedbeforecompiling. CIfasingle(double)precisionversionisdesired,changeall CoccurrencesofCS(CD)incolumns1and2toblanks.Fora Ccalibrationversion,changealloccurrencesofCSandofCC Cincolumns1and2toblanks. C CLatestrevision-November15,1990 C CAuthor-W.J.Cody CArgonneNationalLaboratory C C---------------------------------------------------------------------- CDeclarenamedcommon C----------------------------------------------------------------------
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.