So I am just going thru the x_arithmetic.c math classes, and I found that while most of them do respond to a bang, about 1/3 of them have no method for bang. I would like to add a bang method to all these. I can't see any problem with doing this, anyone else? The new bang methods would act just like the other math object bang methods: the would output the last result.
These objects have a bang method:
+ - * / pow max min == != > < >= <= & && | || << >> % mod div
These do not:
clip sin cos tan atan atan2 sqrt log exp abs
Here's a patch to test this:
.hc
________________________________________________________________________ ____
"Computer science is no more related to the computer than astronomy is related to the telescope." -Edsger Dykstra