diff options
author | Eduardo Julian | 2018-02-24 17:10:44 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-02-24 17:10:44 -0400 |
commit | 9bf491a18e4b772505c3767cf0249eb24f0a822b (patch) | |
tree | ce047676228e395f131abc7304a1284ebb1a69ed /luxc | |
parent | cabb410d67edcdcb3531a990518ca67de4507f07 (diff) |
- Removed the "root2" and "root3" host procedures (their functionality is redundant, in the presence of the "pow" procedure).
Diffstat (limited to '')
-rw-r--r-- | luxc/src/lux/analyser/proc/common.clj | 4 | ||||
-rw-r--r-- | luxc/src/lux/compiler/js/proc/common.clj | 4 | ||||
-rw-r--r-- | luxc/src/lux/compiler/jvm/proc/common.clj | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/luxc/src/lux/analyser/proc/common.clj b/luxc/src/lux/analyser/proc/common.clj index e3951da18..f43781276 100644 --- a/luxc/src/lux/analyser/proc/common.clj +++ b/luxc/src/lux/analyser/proc/common.clj @@ -383,8 +383,6 @@ ^:private analyse-math-tanh "tanh" ^:private analyse-math-exp "exp" ^:private analyse-math-log "log" - ^:private analyse-math-root2 "root2" - ^:private analyse-math-root3 "root3" ^:private analyse-math-ceil "ceil" ^:private analyse-math-floor "floor" ^:private analyse-math-round "round" @@ -602,8 +600,6 @@ "lux math tanh" (analyse-math-tanh analyse exo-type ?values) "lux math exp" (analyse-math-exp analyse exo-type ?values) "lux math log" (analyse-math-log analyse exo-type ?values) - "lux math root2" (analyse-math-root2 analyse exo-type ?values) - "lux math root3" (analyse-math-root3 analyse exo-type ?values) "lux math ceil" (analyse-math-ceil analyse exo-type ?values) "lux math floor" (analyse-math-floor analyse exo-type ?values) "lux math round" (analyse-math-round analyse exo-type ?values) diff --git a/luxc/src/lux/compiler/js/proc/common.clj b/luxc/src/lux/compiler/js/proc/common.clj index 1fe6f2e5e..cb16813d9 100644 --- a/luxc/src/lux/compiler/js/proc/common.clj +++ b/luxc/src/lux/compiler/js/proc/common.clj @@ -410,8 +410,6 @@ ^:private compile-math-tanh "tanh" ^:private compile-math-exp "exp" ^:private compile-math-log "log" - ^:private compile-math-root2 "sqrt" - ^:private compile-math-root3 "cbrt" ^:private compile-math-ceil "ceil" ^:private compile-math-floor "floor" ^:private compile-math-round "round" @@ -568,8 +566,6 @@ "tanh" (compile-math-tanh compile ?values special-args) "exp" (compile-math-exp compile ?values special-args) "log" (compile-math-log compile ?values special-args) - "root2" (compile-math-root2 compile ?values special-args) - "root3" (compile-math-root3 compile ?values special-args) "ceil" (compile-math-ceil compile ?values special-args) "floor" (compile-math-floor compile ?values special-args) "round" (compile-math-round compile ?values special-args) diff --git a/luxc/src/lux/compiler/jvm/proc/common.clj b/luxc/src/lux/compiler/jvm/proc/common.clj index b23a59ce1..67536f3fe 100644 --- a/luxc/src/lux/compiler/jvm/proc/common.clj +++ b/luxc/src/lux/compiler/jvm/proc/common.clj @@ -689,8 +689,6 @@ ^:private compile-math-tanh "tanh" ^:private compile-math-exp "exp" ^:private compile-math-log "log" - ^:private compile-math-root2 "sqrt" - ^:private compile-math-root3 "cbrt" ^:private compile-math-ceil "ceil" ^:private compile-math-floor "floor" ) @@ -961,8 +959,6 @@ "tanh" (compile-math-tanh compile ?values special-args) "exp" (compile-math-exp compile ?values special-args) "log" (compile-math-log compile ?values special-args) - "root2" (compile-math-root2 compile ?values special-args) - "root3" (compile-math-root3 compile ?values special-args) "ceil" (compile-math-ceil compile ?values special-args) "floor" (compile-math-floor compile ?values special-args) "round" (compile-math-round compile ?values special-args) |