欢迎来到天天文库
浏览记录
ID:35160635
大小:100.64 KB
页数:38页
时间:2019-03-20
《the new features of fortran 2003.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ISO/IECJTC1/SC22/WG5N1579TheNewFeaturesofFortran2003JohnReid,WG5Convener,JKRAssociates,24OxfordRoad,Benson,OxonOX106LX,UKj.k.reid@rl.ac.ukTheaimofthispaperistosummarizethenewfeaturesintheFinalCommitteeDraft(FCD)oftheFortran2003standard(WG52003).WetakeasourstartingpointFortran95plusthetwoofficial
2、extensions(Cohen2001,Reid2001)thathavebeenpublishedasType2TechnicalReports(TRs).Theseprovidefeaturesfor1.Allocatabledummyargumentsandtypecomponents,and2.SupportforthefiveexceptionsoftheIEEEFloatingPointStandard(IEEE1989)andforotherfeaturesofthisStandard.Thereisafirmcommitmenttoincludethefeatures
3、oftheseTRsinFortran2003,apartfromchangesthatfollowfromerrorsandomissionsfoundduringimplementation.Therefore,thesefeaturesarenotdescribedhere.Foraninformaldescription,seechapters12and13ofMetcalfandReid(1999).Fortran2003isamajorextensionofFortran95.ThiscontrastswithFortran95,whichwasaminorextensio
4、nofFortran90.BesidethetwoTRitems,themajorchangesconcernobjectorientationandinterfacingwithC.Allocatablearraysareveryimportantforoptimization±afterall,goodexecutionspeedisFortran'sforte.Exceptionhandlingisneededtowriterobustcode.Objectorientationprovidesaneffectivewaytoseparateprogrammingintoinde
5、pendenttasksandtobuilduponexistingcodes;wedescribethesefeaturesinSection2.InterfacingwithCisneededtoallowprogrammerseaseofaccesstosystemroutineswhichareoftenwritteninCandtoallowCprogrammerstocallefficientFortrancodes;wedescribethesefeaturesinSection5.Therearealsomanylessmajorenhancements,describ
6、edinSections3and4.ThisisnotanofficialdocumentandhasnotbeenapprovedbyeitheroftheFortrancommitteesWG5orJ3.Thedraftitself(WG52003)isavailableviathewebasPDFathttp://www.dkuug.dk/jtc1/sc22/open/n3661.pdfItisalsoavailableasJ3documentJ3/03-007r2inPS,PDF,ortextfromftp://ftp.j3-fortran.org/j3/doc/standin
7、g/007/1Contents1Introductionandoverviewofthenewfeatures¼¼¼¼¼¼¼¼¼¼¼¼¼¼52Dataenhancementsandobjectorientation¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼62.1Parameterizedderivedtypes¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼62.2Procedurepointers¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼¼72.3Finaliz
此文档下载收益归作者所有