Skip to content

sign of a null fraction give 1 in place of 0 #3512

@yukulele

Description

@yukulele
math.sign(0) // gives 0 ✅
math.sign(math.complex(0,0)) // gives 0+0i ✅
math.sign(math.fraction(0)) // gives 1/1 ❌, it should give 0/1 

Metadata

Metadata

Assignees

Labels

buggood first issueRelatively localized/straightforward changes that would provide a good introduction to mathjs codehelp wanted

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions