Advertisement
Guest User

Untitled

a guest
Jul 26th, 2018
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Julia 0.44 KB | None | 0 0
  1. julia> f(x) = sin(x) + cos(x)
  2. f (generic function with 1 method)
  3.  
  4. julia> @code_typed f(1.0)
  5. CodeInfo(
  6. 1 1%1 = invoke Main.sin(%%x::Float64)::Float64                        │
  7.   │   %2 = invoke Main.cos(%%x::Float64)::Float64                        │
  8.   │   %3 = Base.add_float(%1, %2)::Float64                               │╻ +
  9.   └──      return %3                                                     │
  10. ) => Float64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement