Right now, I'm clearing the exception flags after calling a function and possibly checking them. It might be nice to allow more flexible handling of them. e.g. leave them uncleared and let the caller check them if she wants to.
Ideally, I would imitate what Julia does with fp exception flags for binary fp, but there doesn't seem to be much there right now. cc @andreasnoack