(a, low, high float64)
| 718 | } |
| 719 | |
| 720 | func B2FloatClamp(a, low, high float64) float64 { |
| 721 | return math.Max( |
| 722 | low, |
| 723 | math.Min(a, high), |
| 724 | ) |
| 725 | } |
| 726 | |
| 727 | /// "Next Largest Power of 2 |
| 728 | /// Given a binary integer value x, the next largest power of 2 can be computed by a SWAR algorithm |
no outgoing calls
no test coverage detected