Re: [eigen] Decrease in performances |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Decrease in performances
- From: Rhys Ulerich <rhys.ulerich@xxxxxxxxx>
- Date: Mon, 25 Jun 2012 12:01:37 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=X7v5u7HxHLrRqDfANGWQe17WjVR7NH3IBgcezHaPtRU=; b=nOwgVAffAeeBkME2kcUbPYfT/HriT1ybLbP1fu83fTuu5ehEqfOD2Z4jAiihBLJScp auFEvHh3lKKZEE4G+sNtBlBxGyZm3OG+cUkiRytg84J8qLxaC3TDQ8W/+/+IE77C1Rug zz/9W25sxzzZQCTr4/3zm8Z4LdWYf6mmdgAcbWLtP9ETIHSRkWkLgLj8x+xilhknX+aZ xopx5GIhladE5hJ7WhfzyjUzx0YFfyW4vtmtjbAmIsLeVyPONClujhAf0PEL8XvAjO+a NvkAR8R89bOehUe+hL3r4+TKq/ItJ1eoPclrr6KZZcMvShUXjiAff3/rzpcDEtmrPyp4 YCng==
> I guess it can easily be replaced by 128bit integer multiplication. I
> suggested that back then, but I guess it was ignored due to portability
> concerns:
> http://listengine.tuxfamily.org/lists.tuxfamily.org/eigen/2011/10/msg00041.html
For int32*int32 overflow detection on platforms lacking int128s, could
one use double*double operations and compare to
numeric_limits<int32>::max() since double can represent a seriously
wide range of integers exactly?
- Rhys