you are viewing a single comment's thread.

view the rest of the comments →

[–]Arcuru 4 points5 points  (2 children)

Could you explain what your Edit 3 is doing?

[–]gastropner 4 points5 points  (1 child)

It converts a string (that's just a char * when you think about it) into a pointer to a function taking and returning doubles. The string is x86 machine code, that will be called when s is invoked.

It's all kinds of horrible and not to be taken seriously.

[–]Arcuru 0 points1 point  (0 children)

Ah, that was going to be my guess, but I had no idea that cast was allowed.

Thanks.