in reply to Is there a better way to call fe(get|set)round?
Another idea is using a global tied variable (setting a value will call fesetround() and reading it fegetround()), so you can use local on it. Hence, the scope will then be temporal instead of lexical, so calculations in other modules will be affected while called from the current scope. And when you leave the block, the old value will be restored.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there a better way to call fe(get|set)round?
by HollyKing (Pilgrim) on Jul 04, 2007 at 18:44 UTC |