I'm seeking a(very) short statement(in any language) that can make the CPU busy for like a second or a half. The statement should consume CPU cycles, not IO stuff.
Psuedocode:
A = 2
StartTime = GetTime()
While (GetTime() - StartTime) < 1.0
A = A * 2