Displaying 1 result from an estimated 1 matches for "controlledrotationpiminus".
2013 Jun 25
1
[LLVMdev] ldexp constant propagation
Hi,
I have the C program below, which contains a mathematical expression.
C code:
======
void ControlledRotationPiMinus(int target, int control, int j)
{
ControlledPhase(target,control,-PI/(2*pow(2,j)));
}
int main() {
..
int b = 3;
for (int j=1; j < b; j++)
ControlledRotationPiMinus(target, control, j);
..
}
Here is what I am doing: The function ControlledRotationPiMinus is called twice in main(), with...