Skip to content

realmin and realmax not defined #306

Closed
@mohamed82008

Description

@mohamed82008
julia> realmax(typeof(ForwardDiff.Dual{Float64}(1.)))
ERROR: MethodError: no method matching realmax(::Type{ForwardDiff.Dual{Float64,Float64,0}})
Closest candidates are:
  realmax() at float.jl:709
  realmax(::Type{Float16}) at float.jl:703
  realmax(::Type{Float32}) at float.jl:704
  ...

julia> realmin(typeof(ForwardDiff.Dual{Float64}(1.)))
ERROR: MethodError: no method matching realmin(::Type{ForwardDiff.Dual{Float64,Float64,0}})
Closest candidates are:
  realmin() at float.jl:708
  realmin(::Type{Float16}) at float.jl:700
  realmin(::Type{Float32}) at float.jl:701
  ...

julia> versioninfo()
Julia Version 0.6.2
Commit d386e40c17* (2017-12-13 18:08 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Prescott)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, broadwell)

julia> Pkg.installed("ForwardDiff")
v"0.7.2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions