mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-06 06:48:32 +00:00
Merge pull request #1973 from pranitbauva1997/typos
[julia/en] Fix a typo is julia.html.markdown
This commit is contained in:
commit
5b7ffeb77d
@ -2,6 +2,7 @@
|
|||||||
language: Julia
|
language: Julia
|
||||||
contributors:
|
contributors:
|
||||||
- ["Leah Hanson", "http://leahhanson.us"]
|
- ["Leah Hanson", "http://leahhanson.us"]
|
||||||
|
- ["Pranit Bauva", "http://github.com/pranitbauva1997"]
|
||||||
filename: learnjulia.jl
|
filename: learnjulia.jl
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -723,7 +724,7 @@ code_native(square_area, (Float64,))
|
|||||||
# ret
|
# ret
|
||||||
#
|
#
|
||||||
# Note that julia will use floating point instructions if any of the
|
# Note that julia will use floating point instructions if any of the
|
||||||
# arguements are floats.
|
# arguments are floats.
|
||||||
# Let's calculate the area of a circle
|
# Let's calculate the area of a circle
|
||||||
circle_area(r) = pi * r * r # circle_area (generic function with 1 method)
|
circle_area(r) = pi * r * r # circle_area (generic function with 1 method)
|
||||||
circle_area(5) # 78.53981633974483
|
circle_area(5) # 78.53981633974483
|
||||||
|
Loading…
Reference in New Issue
Block a user