asciidoctor / asciidoctor-mathematical

An extension for Asciidoctor that converts the content of STEM blocks and inline macros using Mathematical.
MIT License
50 stars 45 forks source link

getting stack trace with ceil(-x) #107

Closed am21 closed 3 years ago

am21 commented 3 years ago

ceil() and floor() both crash while abs() works:

stem:[ceil(x)]   => pass
stem:[ceil(-x)]  => fail
stem:[abs(-x)]   => pass

The error is:

ast.rb:99:in `each': stack level too deep (SystemStackError)
am21 commented 3 years ago

Closing, realized this is actually an asciimath issue.