mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-11 09:14:39 +02:00
Merge pull request #1973 from pranitbauva1997/typos
[julia/en] Fix a typo is julia.html.markdown
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
language: Julia
|
||||
contributors:
|
||||
- ["Leah Hanson", "http://leahhanson.us"]
|
||||
- ["Pranit Bauva", "http://github.com/pranitbauva1997"]
|
||||
filename: learnjulia.jl
|
||||
---
|
||||
|
||||
@@ -723,7 +724,7 @@ code_native(square_area, (Float64,))
|
||||
# ret
|
||||
#
|
||||
# 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
|
||||
circle_area(r) = pi * r * r # circle_area (generic function with 1 method)
|
||||
circle_area(5) # 78.53981633974483
|
||||
|
Reference in New Issue
Block a user