def euler(x); cos(x) + i*sin(x); end

euler(PI) # => -1

Search

subscribe

I work at Engine Yard on Rubinius. Engine Yard offers Rails Hosting.

Latest posts

  • A VM by any other name
  • Come to the Open Source Bridge conference
  • What is RubySpec?
  • When describe'ing it ain't enough
  • Boxers or Briefs? -- Neither?!
  • Warning: Includes Known Bugs
  • Caveat Lector
  • This is NOT cold fusion
  • All shiny and new
  • Call of the lemming
  • Rubinius is a community project
  • Hash is all ponies
  • As del.icio.us as a giant, steaming turd
  • OSCON 2008
  • Implementers Unite!

Archives

  • September 2010 (0)
  • August 2010 (0)
  • July 2010 (0)
  • June 2010 (0)
  • May 2010 (0)
  • April 2010 (0)
  • March 2010 (0)
  • February 2010 (0)
  • January 2010 (0)
  • December 2009 (0)
  • November 2009 (0)
  • October 2009 (0)
  • September 2009 (0)
  • August 2009 (0)
  • July 2009 (0)
  • June 2009 (0)
  • May 2009 (0)
  • April 2009 (0)
  • March 2009 (5)
  • February 2009 (4)
  • January 2009 (0)
  • December 2008 (0)
  • November 2008 (2)
  • October 2008 (0)
  • September 2008 (1)
  • August 2008 (1)
  • July 2008 (1)
  • June 2008 (0)
  • May 2008 (1)
  • April 2008 (1)
  • March 2008 (0)
  • February 2008 (0)
  • January 2008 (4)
  • December 2007 (1)
  • November 2007 (0)
  • October 2007 (0)
  • September 2007 (4)
  • August 2007 (0)
  • July 2007 (0)
  • June 2007 (0)
  • May 2007 (4)
  • April 2007 (1)
  • March 2007 (1)
  • February 2007 (6)
  • January 2007 (0)
  • December 2006 (0)
  • November 2006 (6)
  • October 2006 (4)
  • September 2006 (3)
  • August 2006 (12)
  • July 2006 (5)
  • June 2006 (3)
  • May 2006 (5)
  • April 2006 (1)
def euler(x); cos(x) + i*sin(x); end is using theme based on ananasblau and running Mephisto