Timeline for Fast inverse square root
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 27, 2014 at 20:35 | comment | added | SeanC | @toothbrush, symbol for single is !. If I try either type declaration change in Excel, I get an error: Compile Error: Statement invalid inside Type block | |
| Feb 22, 2014 at 14:20 | comment | added | Toothbrush | Smaller solution: Type x:q&:End Type:Type z:w As Single:End Type:Function q(n):Dim i As x,y As z:x=n/2:y.w=n:LSet i=y:i.q=&H5F3759DF-i.q/2:LSet y=i:q=y.w*(1.5-x*y.w*y.w):End Function | |
| Nov 22, 2012 at 20:14 | comment | added | ceased to turn counterclockwis | +1 for the ridiculosity of using a BASIC dialect to golf a performance-related problem. | |
| Nov 20, 2012 at 17:06 | history | answered | SeanC | CC BY-SA 3.0 |