Skip to content

Commit ee93bd4

Browse files
committed
typos
1 parent 4c239d5 commit ee93bd4

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

NEWS.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- The package now supports only Julia v1.3 and later.
77

88
### Breaking changes
9-
- Changed from using `FastRounding.jl` to `RoundingEmulator.jl` for the defalt rounding mode. [#370](https://github.com/JuliaIntervals/IntervalArithmetic.jl/pull/370)
9+
- Changed from using `FastRounding.jl` to `RoundingEmulator.jl` for the default rounding mode. [#370](https://github.com/JuliaIntervals/IntervalArithmetic.jl/pull/370)
1010

1111

1212
## v0.15
@@ -293,7 +293,7 @@ v0.1 is the first public release of the package.
293293

294294
### Interval arithmetic
295295
- Two methods for interval rounding are available:
296-
(i) narrow/slow (which uses hardward rounding mode changes for `Float64` intervals, and (ii) wide/fast (which does not change the rounding mode)
296+
(i) narrow/slow (which uses hardware rounding mode changes for `Float64` intervals, and (ii) wide/fast (which does not change the rounding mode)
297297
- The current interval precision and rounding mode are stored in the `parameters` object
298298
- The macro `@interval` generates intervals based on the current interval precision
299299
- Trigonometric functions are "nearly" rigorous (for `Float64` intervals, correct rounding is not currently guaranteed)

docs/src/input_output.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
'u' Returns the interval with midpoint as lower bound and radius taken in upward direction.
7474
'C' Returns upper case for Empty, Entire and Nai
7575
'c' Returns lower case for Empty, Entire and Nai
76-
'+' Returns postitve numbers with '+' sign before the number
76+
'+' Returns positive numbers with '+' sign before the number
7777
'0' Left-pads the numbers with zeros instead of spaces within the field width
7878

7979
- The field width specifies the length of midpoint string.

examples/Range of 2-dimensional functions.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
"\t\tconsole.log.apply(console, arguments);\n",
357357
"\t }\n",
358358
"\t},\n",
359-
"\t// a central way to initalize communication\n",
359+
"\t// a central way to initialize communication\n",
360360
"\t// for widgets.\n",
361361
"\tcommInitializer: function (widget) {\n",
362362
"\t widget.sendUpdate = function () {};\n",
@@ -435,7 +435,7 @@
435435
" });\n",
436436
"\t });\n",
437437
"\n",
438-
"\t // coordingate with Comm and redraw Signals\n",
438+
"\t // coordinate with Comm and redraw Signals\n",
439439
"\t // XXX: Test using Reactive here to improve performance\n",
440440
"\t $([IPython.events]).on(\n",
441441
"\t\t'output_appended.OutputArea', function (event, type, value, md, toinsert) {\n",

src/intervals/arithmetic.jl

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function precedes(a::Interval, b::Interval)
4242
end
4343
const = precedes # \preccurlyeq
4444

45-
# strictpreceds
45+
# strictprecedes
4646
function strictprecedes(a::Interval, b::Interval)
4747
(isempty(a) || isempty(b)) && return true
4848
# islessprime(a.hi, b.lo)
@@ -361,7 +361,7 @@ end
361361
signbit(x::Interval)
362362
363363
Returns an interval containing `true` (`1`) if the value of the sign of any element in `x` is negative, containing `false` (`0`)
364-
if any element in `x` is non-negative, and an empy interval if `x` is empty.
364+
if any element in `x` is non-negative, and an empty interval if `x` is empty.
365365
366366
# Examples
367367
```jldoctest
@@ -402,7 +402,7 @@ const RoundTiesToAway = RoundNearestTiesAway
402402
"""
403403
round(a::Interval[, RoundingMode])
404404
405-
Returns the interval with rounded to an interger limits.
405+
Returns the interval with rounded to an integer limits.
406406
407407
For compliance with the IEEE Std 1788-2015, "roundTiesToEven" corresponds
408408
to `round(a)` or `round(a, RoundNearest)`, and "roundTiesToAway"
@@ -437,7 +437,7 @@ Assumes 0 ≤ α ≤ 1.
437437
Warning: if the parameter `α = 0.5` is explicitly set, the behavior differs
438438
from the default case if the provided `Interval` is not finite, since when
439439
`α` is provided `mid` simply replaces `+∞` (respectively `-∞`) by `prevfloat(+∞)`
440-
(respecively `nextfloat(-∞)`) for the computation of the intermediate point.
440+
(respectively `nextfloat(-∞)`) for the computation of the intermediate point.
441441
"""
442442
function mid(a::Interval{T}, α) where T
443443

src/intervals/functions.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ function nthroot(a::Interval{T}, n::Integer) where T
375375
end
376376

377377
"""
378-
Calculate `x::Interval mod y::Real` where y != zero(y) and y is not inteval`.
378+
Calculate `x::Interval mod y::Real` where y != zero(y) and y is not interval`.
379379
"""
380380
function mod(x::Interval, y::Real)
381381
@assert y != zero(y) """mod(x::Interval, y::Real)

src/intervals/trigonometric.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function sin(a::Interval{T}) where T
4444

4545
diam(a) > two_pi(T).lo && return whole_range
4646

47-
# The following is equiavlent to doing temp = a / half_pi and
47+
# The following is equivalent to doing temp = a / half_pi and
4848
# taking floor(a.lo), floor(a.hi)
4949
lo_quadrant = minimum(find_quadrants(a.lo))
5050
hi_quadrant = maximum(find_quadrants(a.hi))

src/multidim/intervalbox.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ length(X::IntervalBox{N,T}) where {N,T} = N
5858
5959
Return a vector of the `mid` of each interval composing the `IntervalBox`.
6060
61-
See `mid(X::Interval, α=0.5)` for more informations.
61+
See `mid(X::Interval, α=0.5)` for more information.
6262
"""
6363
mid(X::IntervalBox) = mid.(X)
6464
mid(X::IntervalBox, α) = mid.(X, α)

0 commit comments

Comments
 (0)