
|
Server : Apache System : Linux 182.49.167.72.host.secureserver.net 4.18.0-553.92.1.el8_10.x86_64 #1 SMP Wed Jan 14 06:31:58 EST 2026 x86_64 User : kikai ( 1014) PHP Version : 8.3.30 Disable Function : NONE Directory : /opt/alt/python311/lib64/python3.11/__pycache__/ |
Upload File : |
�
�fp � �� � d dl mZ d dlZd dlZd dlZd dlZd dlZdgZej j Z
ej j Z ej
dej ej z � � Z G d� dej � � ZdS )� ��DecimalN�Fractiona�
\A\s* # optional whitespace at the start,
(?P<sign>[-+]?) # an optional sign, then
(?=\d|\.\d) # lookahead for digit or .digit
(?P<num>\d*|\d+(_\d+)*) # numerator (possibly empty)
(?: # followed by
(?:/(?P<denom>\d+(_\d+)*))? # an optional denominator
| # or
(?:\.(?P<decimal>\d*|\d+(_\d+)*))? # an optional fractional part
(?:E(?P<exp>[-+]?\d+(_\d+)*))? # and optional exponent
)
\s*\Z # and optional whitespace to finish
c �j � � e Zd Z dZd-dd�� fd�Zed� � � Zed� � � Zd � Zd.d�Z e
d� � � Ze
d
� � � Zd� Z
d� Zd� Zd� Z eeej � � \ ZZd� Z eeej � � \ ZZd� Z eeej � � \ ZZd� Z eeej � � \ ZZ d� Z! ee!ej"