Mar. 27th, 2005

juan_gandhi: (Default)
assertEqual(x.add(y).sin(), x.sin().mult(y.cos()).add(x.cos().mult(y.sin())));

The same assertion in Forth would look something like this (ugly details omitted):

x y + sin x sin y cos * x cos y sin * + ASSERT_EQUAL

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

September 2025

S M T W T F S
 1 2345 6
78 9 10 111213
14 151617 181920
212223 24252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 25th, 2025 09:31 am
Powered by Dreamwidth Studios