Skip to content

putianyi889/IsPositive.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IsPositive

A 4-line package motivated by JuliaLang/julia#35067

ispositive(x) = !isnonnegative(x)
isnegative(x) = signbit(x) && !iszero(x)

isnonnegative(x) = signbit(x) || iszero(x)
isnonpositive(x) = !signbit(x) || iszero(x)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages