igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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?

typedef double igraph_integer_t;
typedef double igraph_real_t;

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?

-Chris


reply via email to

[Prev in Thread] Current Thread [Next in Thread]