~ubuntu-branches/ubuntu/wily/julia/wily

« back to all changes in this revision

Viewing changes to base/complex.jl

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2013-11-17 19:32:52 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20131117193252-tkrpclguqqebqa35
Tags: 0.2.0+dfsg-3
testsuite-i386.patch: loosen the numerical precision for yet another test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
                                           throw(InexactError()))
29
29
 
30
30
promote_rule{T<:Real}(::Type{Complex{T}}, ::Type{T}) = Complex{T}
 
31
promote_rule{T<:Real}(::Type{Complex}, ::Type{T}) = Complex
31
32
promote_rule{T<:Real,S<:Real}(::Type{Complex{T}}, ::Type{S}) =
32
33
    Complex{promote_type(T,S)}
33
34
promote_rule{T<:Real,S<:Real}(::Type{Complex{T}}, ::Type{Complex{S}}) =