Tech
A question about a factorial operator
I wrote an assembler that supports floating point values. One of the operators I implemented was factorial because a lot of Taylor series seem to use it to define various constants. So right now, I have
.float -((2*3.14159265)**11)/11!
I found a bug in the parsing such that (2+3)! doesn't parse (the parsing of the factorial operator is in the wrong location). In fixing the bug, I found an issue that I don't know how best to resolve, since I personally have never used a programming la...
Read the full discussion on Lobsters
This article was aggregated from Lobsters. Click to join the conversation.
View on Lobsters