Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit e4098ee

Browse files
committed
Merge branch '__rultor'
2 parents 0538f84 + 8a6357e commit e4098ee

File tree

8 files changed

+31
-507
lines changed

8 files changed

+31
-507
lines changed

src/main/eo/org/eolang/math/angle.eo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
2222

23-
+alias org.eolang.math.nan
2423
+alias org.eolang.math.pi
24+
+alias org.eolang.nan
2525
+home https://github.com/objectionary/eo-math
2626
+package org.eolang.math
2727
+rt jvm org.eolang:eo-math:0.0.0

src/main/eo/org/eolang/math/integral.eo

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
+rt jvm org.eolang:eo-math:0.0.0
2727
+version 0.0.0
2828

29-
# Counts integral from a to b
29+
# Counts integral from a to b
30+
# @todo #105:30min. Fix integral tests. Since new declarative "while" was
31+
# introduced current implementation of integral is not relevant anymore. Need
32+
# to remake it and unwrap tests
3033
[fun a b] > integral
3134
[fun a b] > subsection
3235
times. > @

src/main/eo/org/eolang/math/nan.eo

Lines changed: 0 additions & 97 deletions
This file was deleted.

src/main/eo/org/eolang/math/negative-infinity.eo

Lines changed: 0 additions & 151 deletions
This file was deleted.

src/main/eo/org/eolang/math/number.eo

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
# SOFTWARE.
2222

2323
+alias org.eolang.math.angle
24-
+alias org.eolang.math.nan
25-
+alias org.eolang.math.negative-infinity
2624
+alias org.eolang.math.pi
27-
+alias org.eolang.math.positive-infinity
25+
+alias org.eolang.nan
26+
+alias org.eolang.negative-infinity
27+
+alias org.eolang.positive-infinity
2828
+alias org.eolang.switch
2929
+home https://github.com/objectionary/eo-math
3030
+package org.eolang.math
@@ -68,9 +68,10 @@
6868

6969
# Checking if number is NaN
7070
[] > is-nan
71-
eq. > @
72-
^.n.as-bytes
73-
7F-C0-00-00
71+
not. > @
72+
eq.
73+
^.n
74+
^.n
7475

7576
# Checking if number is infinite
7677
[] > is-infinite
@@ -339,6 +340,10 @@
339340
# We need it because pow is atom and supposed to be removed.
340341
# You can use Heron's iterative formula with a quite good
341342
# convergence rate.
343+
344+
# @todo #105:30min. Fix sqrt and its tests. Since new declarative "while" was
345+
# introduced current implementation of sqrt is not relevant anymore. Need
346+
# to remake it and unwrap tests
342347
[] > sqrt
343348
as-float > value!
344349
number > @
@@ -480,6 +485,9 @@
480485
# Computes series buy the numbers for start and finish and function of
481486
# coefficient of nth term. It is NaN if infinity passed because the
482487
# implementation would get infinity time to calculate sum of infinity terms
488+
# @todo #105:30min. Fix taylor and its tests. Since new declarative "while"
489+
# was introduced current implementation of taylor is not relevant anymore.
490+
# Need to remake it and unwrap tests
483491
[start finish f] > taylor
484492
^.n > value!
485493
memory start > iterator
@@ -579,6 +587,9 @@
579587
(number base-as-float).ln
580588

581589
# Natural logarithm of ^.n
590+
# @todo #105:30min. Fix "ln" and its tests. Since new declarative "while"
591+
# was introduced current implementation of "ln" is not relevant anymore.
592+
# Need to remake it and unwrap tests
582593
[] > ln
583594
as-float > value!
584595
number > @

0 commit comments

Comments
 (0)