first commit
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"numbers.mjs","names":[],"sources":["../../../../packages/utils/numbers.ts"],"sourcesContent":["/**\n * Due to browser rendering and calculation precision loss issues,\n * boundary checks cannot be based solely on value equality;\n * a certain range of fluctuation is permissible.\n */\nexport function isGreaterThan(a: number, b: number, epsilon = 0.03) {\n return a - b > epsilon\n}\n"],"mappings":";;;;;;AAKA,SAAgB,cAAc,GAAW,GAAW,UAAU,KAAM;AAClE,QAAO,IAAI,IAAI"}
|
||||
Reference in New Issue
Block a user