Skip to content

Commit 7f37853

Browse files
authored
clarify math.sin result (closes #657)
1 parent 816a44e commit 7f37853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ compare it to the built-in Julia `sin`:
9898

9999
using PyCall
100100
math = pyimport("math")
101-
math.sin(math.pi / 4) - sin(pi / 4) # returns 0.0
101+
math.sin(math.pi / 4) # returns ≈ 1/√2 = 0.70710678...
102102

103103
Type conversions are automatically performed for numeric, boolean,
104104
string, IO stream, date/period, and function types, along with tuples,

0 commit comments

Comments
 (0)