[haskell-llvm] Crashes in Array, Vector, DotProd
bos at serpentine.com
Mon Oct 11 16:40:13 EDT 2010
On Mon, Oct 11, 2010 at 1:26 PM, Henning Thielemann <
lemming at henning-thielemann.de> wrote:
> I suggest to introduce new functions 'iadd', 'isub', 'imul' that have
> IsInteger constraint and alter 'add', 'sub', 'mul' such that they call
> LLVM's 'add' and so on for integers and LLVM's 'fadd' and so on for
> floating point numbers. This would maintain the current behaviour and
> the names sound reasonable to me, they are however not consistent with
> the ones of LLVM. If you like that, I'll submit a patch.
So 2.8 uses fadd for floats, and add for ints, while we have just add?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-llvm