Re: [eigen] a couple of RFCs |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] a couple of RFCs
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Thu, 13 Aug 2009 15:51:41 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=gVaEpS58C8E0wuMkfC8LEYj0xC6R6wiQCFLYfon32qI=; b=v6FB/L/B6hx4JVuWnrvM1irAncxfApRqRK//SmgzZrczKrkkEkW/JJeCnPkQ65aM7Z 5esMfB28RRY2YSIqZXL/f61plX536CPbPeWWeAKTXW/HpCMC7XWyBwoOTW7xPZ0lsFvN u7g/+vScsAljw5i6oHPcM2cXQTBMf9u9Qm/UI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=qsv+SkFiklq74aTYWj4Uhkal0cvpqj9w6KrmF2L1+ZqiKrBoAGz5Y/dTtNtnTmEOoA TLa54dr9rpKh8IZyGEqZykXvvMayZD4jL1K4gmrUZ6kAXDb+rSH6HW8f+5//up8c1rL9 Q7HKr9jGnGeMdRWlBipj2P8ziLe8uy0C6uvKs=
2009/8/13 Gael Guennebaud <gael.guennebaud@xxxxxxxxx>:
> thanks for the fixes in IOFormat.
>
> about numeric_limits, I think we should use:
>
> std::numeric_limits<NumTraits<Scalar>::Real>::epsilon()
Indeed, that does the job. But that looks complicated, sooner or later
we'll forget to do that and will get bug reports.... how about keeping
machine_epsilon<Scalar>() as a wrapper for exactly that? maybe call it
epsilon instead?
Benoit