__builtin_expect_with_probability use in gcc

13 Views Asked by At

The use of builtin_expect_with_probability gcc function is for condition check with probability like in below example __builtin_expect_with_probability(!!(x),1,1.0)

can someone tell me what is the purpose of "!!" in above function?

0

There are 0 best solutions below