Skip to content

missing floatmin, floatmax, issubnormal for Quantity #850

@stevengj

Description

@stevengj
julia> x = 1.0u"m"
1.0 m

julia> floatmin(x)  # expected result: typeof(x)(floatmin(Float64))
ERROR: MethodError: no method matching floatmin(::Quantity{Float64, 𝐋, Unitful.FreeUnits{(m,), 𝐋, nothing}})

julia> floatmax(x)  # expected result: typeof(x)(floatmax(Float64))
ERROR: MethodError: no method matching floatmax(::Quantity{Float64, 𝐋, Unitful.FreeUnits{(m,), 𝐋, nothing}})

julia> issubnormal(x)  # expected result: false
ERROR: MethodError: no method matching issubnormal(::Quantity{Float64, 𝐋, Unitful.FreeUnits{(m,), 𝐋, nothing}})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions