Skip to content

Commit

Permalink
Remove a nondeterministic doctest
Browse files Browse the repository at this point in the history
tweak whitespace after license headers

Add big.txt to test/perf/.gitignore
  • Loading branch information
tkelman committed Aug 3, 2015
1 parent 339033f commit 27fd429
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions doc/manual/running-external-programs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,6 @@ powerful one. To give some sense of the complex pipelines that can be
created easily, here are some more sophisticated examples, with
apologies for the excessive use of Perl one-liners:

.. doctest::

julia> prefixer(prefix, sleep) = `perl -nle '$|=1; print "'$prefix' ", $_; sleep '$sleep';'`;

julia> run(pipe(`perl -le '$|=1; for(0..9){ print; sleep 1 }'`, prefixer("A",2) & prefixer("B",2)))
Expand Down
4 changes: 2 additions & 2 deletions doc/stdlib/math.rst
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,9 @@ Mathematical Functions

.. function:: isapprox(x::Number, y::Number; rtol::Real=sqrt(eps), atol::Real=0)

Inexact equality comparison: ``true`` if ``abs(x-y) <= atol + rtol*max(abs(x), abs(y))``. The default ``atol`` is zero and the default ``rtol`` depends on the types of ``x`` and ``y``.
Inexact equality comparison: ``true`` if ``abs(x-y) <= atol + rtol*max(abs(x), abs(y))``. The default ``atol`` is zero and the default ``rtol`` depends on the types of ``x`` and ``y``.

For real or complex floating-point values, ``rtol`` defaults to ``sqrt(eps(typeof(real(x-y))))``. This corresponds to requiring equality of about half of the significand digits. For other types, ``rtol`` defaults to zero.
For real or complex floating-point values, ``rtol`` defaults to ``sqrt(eps(typeof(real(x-y))))``. This corresponds to requiring equality of about half of the significand digits. For other types, ``rtol`` defaults to zero.

.. function:: sin(x)

Expand Down
2 changes: 1 addition & 1 deletion src/signals-bsd.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is a part of Julia. License is MIT: http://julialang.org/license
//

// BSD / Apple-System
//
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion src/signals-linux.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is a part of Julia. License is MIT: http://julialang.org/license
//

// Linux
//
// Linux can use the BSD timers, but this is the more careful approach.
Expand Down
2 changes: 1 addition & 1 deletion src/signals-win.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is a part of Julia. License is MIT: http://julialang.org/license
//

// Windows
//
DLLEXPORT void gdblookup(ptrint_t ip);
Expand Down
1 change: 1 addition & 0 deletions test/perf/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
big.txt

0 comments on commit 27fd429

Please sign in to comment.