موضوعات وبسایت : برنامه نویسی

مطالب نوشته شده توسط رضا قربانی

کامپایلر پایتون چیست

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263# Package initialisationfrompypy.interpreter.mixedmodule importMixedModuleclassModule(MixedModule):    appleveldefs={       'factorial':'app_math.factorial'    }    interpleveldefs={       'e'              :'interp_math.get(space).w_e',       'pi'             :'interp_math.get(space).w_pi',       'pow'            :'interp_math.pow',       'cosh'           :'interp_math.cosh',       'copysign'       :'interp_math.copysign',       'ldexp'          :'interp_math.ldexp',       'hypot'          :'interp_math.hypot',       'tan'            :'interp_math.tan',       'asin'           :'interp_math.asin',       'fabs'           :'interp_math.fabs',       'floor'          :'interp_math.floor',       'sqrt'           :'interp_math.sqrt',       'frexp'          :'interp_math.frexp',       'degrees'        :'interp_math.degrees',       'log'            :'interp_math.log',       'log10'          :'interp_math.log10',       'fmod'           :'interp_math.fmod',       'atan'           :'interp_math.atan',       'ceil'           :'interp_math.ceil',       'sinh'           :'interp_math.sinh',       'cos'            :'interp_math.cos',       'tanh'           :'interp_math.tanh',       'radians'        :'interp_math.radians',       'sin'            :'interp_math.sin',       'atan2'          :'interp_math.atan2',       'modf'           :'interp_math.modf',       'exp'            :'interp_math.exp',       'expm1'          :'interp_math.expm1',       'acos'           :'interp_math.acos',       'isinf'          :'interp_math.isinf',       'isnan'          :'interp_math.isnan',       'trunc'          :'interp_math.trunc',       'fsum'           :'interp_math.fsum',       'asinh'          :'interp_math.asinh',       'acosh'          :'interp_math.acosh',       'atanh'          :'interp_math.atanh',       'log1p'          :'interp_math.log1p',       'expm1'          :'interp_math.expm1',       'erf'            :'interp_math.erf',       'erfc'           :'interp_math.erfc',       'gamma'          :'interp_math.gamma',       'lgamma'         :'interp_math.lgamma',}importsys,mathINFINITY=1e200*1e200NAN=abs(INFINITY/INFINITY)defisinf(x):    returnx==INFINITY orx==-INFINITYdefisnan(v):    returnv!=vdefpositiveinf(x):    returnisinf(x)andx>0.0defnegativeinf(x):    returnisinf(x)andx<0.0deffinite(x):    returnnotisinf(x)andnotisnan(x)unary_math_functions=['acos','asin','atan',                        'ceil','cos','cosh','exp','fabs','floor',                        'sin','sinh','sqrt','tan','tanh','log','log10',                        ...

تاریخ 09 اسفند 1399