[Instr] Albert Chae

2008-08-09 02:39:54 UTC

Permalink

You are allowed to use the math library.Raw Message

Albert

We're trying to figure out a good way to get the number of bits for the index

and offset from the physical address, and it seems like the best way to do it

would be by using the log of certain numbers to figure out how many bits we

need to represent offset and index. Is it alright to compile with the math

library to do this?

and offset from the physical address, and it seems like the best way to do it

would be by using the log of certain numbers to figure out how many bits we

need to represent offset and index. Is it alright to compile with the math

library to do this?