Hi Everyone

First, I want to thank all you guys for all the great advice in the past !!

Here's another question :

I can use a double in perl as a hash key and perl automatically converts it to a string and uses it right? How do I do the same in my C code, i.e,

I have this in perl space:

$x = -1e100;

..... some mathematical manipulations on $x

$hash{$x}++;

I have the equivalent double 'x' in my C code. And I want to check whether the key 'x' exists in the hash. For that I need to explicitly convert 'x' to a string value, correct? How do I do that ?

Any help would be greatly appreciated !!
Thanks !!
Nitin

Reply via email to