Skip to content

realmin incorrect #79

@TotalVerb

Description

@TotalVerb

The definition of realmin seems to be strange for fixed point numbers. The observed behavior is:

julia> realmin(Q11f4)
-2048.0Q11f4

But the expected behavior is:

julia> realmin(Q11f4)
0.06Q11f4

as per docstring,

help?> realmin
search: realmin realmax readdlm ReadOnlyMemoryError

  realmin(T)

  The smallest in absolute value non-subnormal value representable by the given floating-point
  DataType T.

(maybe this function is redundant with eps and need not be defined?)

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