[igraph] Question on igraph_integer_t and igraph_real_t
From:
Chris Wj
Subject:
[igraph] Question on igraph_integer_t and igraph_real_t
Date:
Mon, 26 Jan 2009 17:22:45 -0500
I was reading the code to understand the underlying mechanisms in igraph. This is probably more of a C programming question, but why is igraph_integer_t defined as a double?
At first, I thought this was to have 64-bits for storing graph and edge ids because the graphs can get quite large. What is the benefit over using a long int?