help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] things I don't understand in src/env/time.c + bugs + sug


From: David Monniaux
Subject: Re: [Help-glpk] things I don't understand in src/env/time.c + bugs + suggested patch
Date: Sat, 28 Jan 2017 15:23:12 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 01/28/2017 02:35 PM, Heinrich Schuchardt wrote:
>
> 1E3 * 1E-3 = 1.
> You wouldn't add seconds and microseconds without scaling.
Typo (silly copying and pasting). It should have read:

return tv.tv_sec * 1E3 + tv.tv_usec * 1E-3;


-- 
David Monniaux
directeur de recherche au CNRS, laboratoire VERIMAG
Université Grenoble Alpes
http://www-verimag.imag.fr/~monniaux/

Attachment: David_Monniaux.vcf
Description: Vcard


reply via email to

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