Re: RosettaCode
- Posted by mattlewis (admin) Jan 26, 2011
- 1991 views
bruce1961 said...
Weird enough that the routine_id of arcsin is '0' and of sin is '-1'
What have I done wrong here?
sin is a built-in, and you cannot get a routine_id for a built-in. That said, you still shouldn't get a machine exception when using an invalid routine_id. That looks like a bug in the interpreter.
Matt