| 143 | } |
| 144 | |
| 145 | S32 xUtil_yesno(F32 wt_yes) |
| 146 | { |
| 147 | if (0.0f == wt_yes) |
| 148 | { |
| 149 | return 0; |
| 150 | } |
| 151 | |
| 152 | if (1.0f == wt_yes) |
| 153 | { |
| 154 | return 1; |
| 155 | } |
| 156 | |
| 157 | return (xurand() <= wt_yes); |
| 158 | } |
| 159 | |
| 160 | void xUtil_wtadjust(F32* wts, S32 cnt, F32 arbref) |
| 161 | { |
no test coverage detected