diff --git a/libs/S_D.py b/libs/P_C.py similarity index 90% rename from libs/S_D.py rename to libs/P_C.py index a071ee2..f743e7d 100644 --- a/libs/S_D.py +++ b/libs/P_C.py @@ -1,13 +1,15 @@ """ writen by shenjackyuanjie mail: 3695888@qq.com + +file name stand for : Physics calculation """ import libs import math -def S_C_float_check(SC): # stand for Scientific notation's float check\ +def S_C_float_check(SC): # stand for Scientific notation's float check """ formats: SC list format:docs.basic_config.json:basic_number""" @@ -33,7 +35,7 @@ def S_N_M(A, B): # stand for Scientific notation multiple return C -def S_N_D(A, B): # stand for Scientific notation divide +def S_N_D(A, B): # stand for Scientific notation divided """ formats: A & B list format:docs.basic_config.json:basic_number""" diff --git a/libs/tools.py b/libs/tools.py index 1c3bbe3..5847470 100644 --- a/libs/tools.py +++ b/libs/tools.py @@ -3,6 +3,9 @@ writen by shenjackyuanjie mail: 3695888@qq.com """ +import libs +import decimal + def mbool(thing): # stand for my bool if (thing == "True") or (thing == 1) or (thing == "1"): @@ -12,7 +15,8 @@ def mbool(thing): # stand for my bool else: raise ValueError("Need a 'like bool' not anything else") -def D_C(listA, listB): # stand for Duplicate check + +def D_C(listA, listB): # stand for Duplicate check """ usage:\n input two list\n @@ -28,3 +32,19 @@ def D_C(listA, listB): # stand for Duplicate check listA.sort() listB.sort() return + + +def F_Mu(A, B): # stand for float multiple + pass + + +def F_D(A, B): # stand for float divided + pass + + +def F_P(A, B): # stand for float plus + pass + + +def F_Mi(A, B): # stand for float minus + pass