Server: appserver-7f0f8755-nginx-15961cad18524ec5a9db05f2a6a7e440
Current directory: /usr/lib/python2.7
Software: nginx/1.27.5
Shell Command
Create a new file
Upload file
File: fractions.pyc
� ӫ[c @ s� d Z d d l m Z d d l m Z d d l Z d d l Z d d l Z d d l Z d d g Z e j Z d � Z e j d e j e j B� Z d e f d � � YZ d S( s+ Rational, infinite-precision, real numbers.i����( t division( t DecimalNt Fractiont gcdc C s" x | r | | | } } q W| S( s� Calculate the Greatest Common Divisor of a and b. Unless b==0, the result will have the same sign as b (so that when b is divided by it, the result comes out positive). ( ( t at b( ( s /usr/lib/python2.7/fractions.pyR s sC \A\s* # optional whitespace at the start, then (?P
[-+]?) # an optional sign, then (?=\d|\.\d) # lookahead for digit or .digit (?P
\d*) # numerator (possibly empty) (?: # followed by (?:/(?P
\d+))? # an optional denominator | # or (?:\.(?P
\d*))? # an optional fractional part (?:E(?P
[-+]?\d+))? # and optional exponent ) \s*\Z # and optional whitespace to finish c B s� e Z d Z d' Z d d( d � Z e d � � Z e d � � Z d d � Z e d � � Z e d � � Z d � Z d � Z d � Z d � Z e e e j � \ Z Z d � Z e e e j � \ Z Z d � Z e e e j � \ Z Z d � Z e e e j � \ Z Z e e e j! � \ Z" Z# d � Z$ d � Z% d � Z&