Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Runtime

Name: Anonymous 2012-08-25 0:34

when i use pow(x,y) in C, is such a thing calculated in constant or linear runtime?

Name: Anonymous 2012-08-25 20:31

x^y can be implemented in hardware giving a constant time result (with an enormous constant). I doubt it's done that way though since it's so bad in area requirements and much simpler to do using a digit recurrence algorithm in microcode (slightly larger upper bound constant)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List