This is the mail archive of the gsl-discuss@sourceware.cygnus.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: memory allocation


It's unlikely in practice but I believe, in principle, the
representation of zero could be different in an implementation-
dependent extended floating point format, such as long double.

Thomas Walter writes:
 > Is there a special reason to not use the systems 'calloc()' but
 > 'malloc()' followed by a loop over all elements to set them to a
 > initial value of zero?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]