+/* A helper function to generate condition
+ code for the y argument in call pow (some_const, y).
+ See candidate selection in check_pow. Since the
+ candidates's base values have a limited range,
s/candidates's/candidates'/
+ the guarded code generated for y are simple:
+ See C99 standard, 7.12.7.4:2, for description of pow (x, y).
+ The precice condition for domain errors are complex. In this
s/precice/precise/
+ implementation, a simplified (but conservative) valid domain
+ for x and y are used: x is positive to avoid dom errors, while
+ y is smaller than a upper bound (depending on x) to avoid range
+ errors. Runtime code is generated to check x (if not constant)
+/* Propability of the branch (to the call) is taken. */
s/Propability/Probability/
+#define ERR_PROB 0.01
+ /* Now it is time to insert the first condtional expression
s/condtional/conditional/
+ into bi_call_bb and split this bb so that bi_call is
+ shrink-wrapped. */
Cheers,
Ralf