#  Copyright (c) yibocat 2024 All Rights Reserved
#  Python: 3.10.9
#  Date: 2024/4/7 下午1:23
#  Author: yibow
#  Email: yibocat@yeah.net
#  Software: MohuPy

import numpy as np

ZERO_1 = np.float_(1e-1)
ZERO_2 = np.float_(1e-2)
ZERO_3 = np.float_(1e-3)
ZERO_4 = np.float_(1e-4)
ZERO_5 = np.float_(1e-5)
ZERO_6 = np.float_(1e-6)
ZERO_7 = np.float_(1e-7)
ZERO_8 = np.float_(1e-8)
ZERO_9 = np.float_(1e-9)
ZERO_10 = np.float_(1e-10)
ZERO_16 = np.float_(1e-16)

ONE_1 = np.float_(1 - 1e-1)
ONE_2 = np.float_(1 - 1e-2)
ONE_3 = np.float_(1 - 1e-3)
ONE_4 = np.float_(1 - 1e-4)
ONE_5 = np.float_(1 - 1e-5)
ONE_6 = np.float_(1 - 1e-6)
ONE_7 = np.float_(1 - 1e-7)
ONE_8 = np.float_(1 - 1e-8)
ONE_9 = np.float_(1 - 1e-9)
ONE_10 = np.float_(1 - 1e-10)
ONE_16 = np.float_(1 - 1e-16)


class Approx:
    round = 6

    ZERO_1 = ZERO_1
    ZERO_2 = ZERO_2
    ZERO_3 = ZERO_3
    ZERO_4 = ZERO_4
    ZERO_5 = ZERO_5
    ZERO_6 = ZERO_6
    ZERO_7 = ZERO_7
    ZERO_8 = ZERO_8
    ZERO_9 = ZERO_9
    ZERO_10 = ZERO_10
    ZERO_16 = ZERO_16

    ONE_1 = ONE_1
    ONE_2 = ONE_2
    ONE_3 = ONE_3
    ONE_4 = ONE_4
    ONE_5 = ONE_5
    ONE_6 = ONE_6
    ONE_7 = ONE_7
    ONE_8 = ONE_8
    ONE_9 = ONE_9
    ONE_10 = ONE_10
    ONE_16 = ONE_16
