Symbolic sqrt(2) and sin(pi)

Yeah, the bigger thing to do would probably be to handle it in the switch to SymbolicTracing.jl.

I’m actually surprised that works. It should be very simpler to the Expr object which has an op and arguments. I guess the analysis code is now generic enough that it just iterates through the latter argument, and numbers are iterable so it works? @shashi

We should probably handle that in SymbolicTracing.jl as mentioned above.

2 Likes