nearfloat — get previous or next floating-point number
xnear = nearfloat(dir, x)
string ("succ" or "pred")
real scalar, vector or matrix
real scalar, vector or matrix
This function computes, in the element wise meaning, the
    corresponding neighbours of the elements of x (in the
    underlying floating point set, see number_properties), the successors if
    dir = "succ" and the predecessors if dir =
    "pred".