Re: [eigen] Decrease in performances

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


> 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



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/