CompuServe Messages

Three-Dee graphics

#: 34518 S7/ProgrammingForum unknown
    27-Sep-86 19:21:59
Fm: Jack Crenshaw 72325,1327
To: Kirk Piepho 72457,2200

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

If you have an exp and ln function (and don't mind the time it takes to use them) then the problem is much easier than you say: sqrt(x) = exp( ln(x) / 2.0). But then, if you have a language that has exp and ln, it also has sqrt! You still haven't told us if you're doing this in integer or floating point math. Since we were on a chain discussing 3-D graphics, I think we all kind of assumed you were needing something small & fast. Now I'm not so sure.