+infinity and -infinity?

was wondering how to set a variable to +infinity or -infinity

char *variable = "+infinity";

is one way.

Some context might even provide an answer that made sense.

Using this for alpha beta pruning.

Say what?