To compute the sqrt, we can use the Newton-Raphson method to converge to a sqrt. Newton serie is: x_(i+1) = x_i – f(x_i)/f'(x_i) for the sqrt we have: sqrt(n) = x or n = x^2 our newton function f(x) becomes: f(x) = x^2 – n. and first derivative: f'(x) = 2x; with our particular f(x), […]

~ read more ~### Recent Posts

- [Bindable] Slow ! November 24, 2013
- profiling can be misleading ! November 12, 2013
- atan2 , tricks !!! **updated** November 9, 2013
- pow(a,b) tricks !!! *** updated ** October 29, 2013
- Math.log tricks **updated** October 24, 2013
- Math.exp Math.pow(2,x) 2^x optimizations and tricks , **updated ** October 14, 2013
- reciprocal 1/x tricks **updated** October 7, 2013
- AS3 vector v[int(i+1)] trick ? September 26, 2013
- Euclidean division September 26, 2013
- Fastest way to sort Numbers ? September 14, 2013
- min max float in byteArray September 9, 2013
- Math.min Math.max float August 31, 2013
- Math.min Math.max integer tricks August 26, 2013
- Radix SortOn August 24, 2013
- More On Radix and FlashSort August 23, 2013
- Fastest way to clear Alchemy Bytearray Region? August 19, 2013
- Sort, faster than FlashSort, Radix ! August 19, 2013
- AS3 Accurate Profiling August 16, 2013
- Super fast SortOn with FlashSort ! August 13, 2013
- Super fast sorting with FlashSort ! August 13, 2013
- AS3 loop speed August 10, 2013
- integer equal sign tricks August 5, 2013
- sign(number) tricks ! August 3, 2013
- Vector versus Alchemy July 31, 2013
- integer Math.abs trick July 31, 2013
- integer sign trick July 30, 2013
- Math.sin tricks July 30, 2013
- sqrt trick July 29, 2013
- Rounded Power of 2 Trick July 16, 2013
- Integer % Operator , Faster ! July 16, 2013
- Log2(n) tricks July 16, 2013
- Local Variables versus Alchemy versus VM Stack ? July 15, 2013
- Profiled code July 10, 2013
- Sign Flipping Twiddling! July 9, 2013
- Byte to Number conversion, LUT and Alchemy July 9, 2013
- Fastest ease-in ease-out function? July 9, 2013
- DescribeType, getDefinitionByName .. slow! July 9, 2013
- ATF format July 9, 2013
- Integer to Number conversions, can we go faster? July 8, 2013
- Math.ceil to integer tricks July 8, 2013

### Categories

### Archives

- November 2013 (3)
- October 2013 (4)
- September 2013 (4)
- August 2013 (12)
- July 2013 (37)

## Recent Comments