The lowest value representable by the given (real) numeric DataType T.


julia> typemin(Int)

julia> typemin(Float64)

julia> typemin(Bool)
  1. Find the lowest value of an integer type:

    julia> typemin(Int8)
  2. Find the lowest value of a floating-point type:

    julia> typemin(Float32)
  3. Get the lowest value of a boolean type:
    julia> typemin(Bool)

Common mistake example:

julia> typemin(String)
ERROR: TypeError: in typemin, expected Type, got String

In this example, String is not a valid argument for typemin since it is not a numeric data type. Make sure to provide a valid numeric data type as an argument to typemin.

See Also

BigFloat, BigInt, Dict, eltype, fieldtype, Float32, Float64, IntSet, isa, isalnum, isalpha, isascii, iseltype, isequal, isgraph, isimmutable, isinteractive, isleaftype, isnull, ispunct, isspace, issubtype, keytype, Nullable, NullException, promote_type, typeintersect, typejoin, typemax, typemin, typeof, Val, valtype,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field

Checking you are not a robot: