[Haskell-cafe] Postdocs and Research Programmer for Compositional Learning via Generalized Automatic Differentiation

2013-07-05 Thread Barak A. Pearlmutter
rning.) To this end, we are seeking two postdoctoral researchers and one research programmer with interest and experience in a cohert subset of: programming language theory, numerics, automatic differentiation, and machine learning. Inquiries to: Barak A. Pearlmutter Informal announcment with

Re: [Haskell-cafe] Numerics and Warnings

2013-04-10 Thread Barak A. Pearlmutter
> ... in most of the cases I do want this warnings. It's possible to get > something default to Integer when it should be Int. There are only few > cases when it's not appropriate. Only ^ and ^^ with literals I think There are a few other cases, albeit less annoying. Like this: c = fromIntegral

[Haskell-cafe] Numerics and Warnings

2013-04-10 Thread Barak A. Pearlmutter
cause this, but common innocuous cases could---and I would argue, should---be addressed in ad-hoc ways. -- Barak A. Pearlmutter Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland http://www.bcl.hamilton.ie/~barak/ transcript $ cat tw

[Haskell-cafe] Lambda Calculus and Differential Geometry and Big Iron

2012-06-08 Thread Barak A. Pearlmutter
/real computation issues. Project headquarters: Hamilton Institute, NUI Maynooth, Ireland, http://www.hamilton.ie/. Applications and queries to: "Barak A. Pearlmutter" ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.o

Re: [Haskell-cafe] Proper Handling of Exceptional IEEE Floating Point Numbers

2010-04-24 Thread Barak A. Pearlmutter
> The problem are not so much the additional instructions. Rather, > it's the fact that compare for Float and Double can fail at all > which inhibits some optimisations. For instance, GHC is free to > eliminate the comparison in (x `compare` y) `seq` a but wouldn't be > with your change. It doesn't

Re: [Haskell-cafe] Proper Handling of Exceptional IEEE Floating Point Numbers

2010-04-24 Thread Barak A. Pearlmutter
> It's a question of what the right default is - safety or > performance. In the case of floating point numbers, I'm leaning > towards performance. I quite agree. Currently the standard prelude has default definition: ... compare x y | x == y= EQ | x <= y= LT

Re: [Haskell-cafe] Proper Handling of Exceptional IEEE Floating Point Numbers

2010-04-24 Thread Barak A. Pearlmutter
> And yet a lot of generic code is written in terms of compare. That's can be an advantage, because often that code *should* blow up when it gets a NaN. E.g., sorting a list of Floats which includes a NaN. > Even deriving(Ord) only produces compare and relies on standard > definitions for other

Re: [Haskell-cafe] Proper Handling of Exceptional IEEE Floating Point Numbers

2010-04-23 Thread Barak A. Pearlmutter
> Please think of the poor guys trying to write high-performance code in > Haskell! Like me? (Well, not in Haskell per-se, but in a pure functional context.) In all seriousness, I think it is reasonable when "isNaN x" for x < C x == C x > C C < x C == x C > x to all be False, for all flo

Re: [Haskell-cafe] Proper Handling of Exceptional IEEE Floating Point Numbers

2010-04-23 Thread Barak A. Pearlmutter
> ... An invalid comparison evaluating to _|_ is arguably more > correct, but I personally find the idea of introducing more bottoms > rather distasteful. Too late! NaN is pretty much the _|_ of IEEE Floating Point. That was certainly the intent of the IEEE standard, and is why NaN is so contagi

[Haskell-cafe] PhD student / postdoc positions in PLT+AD

2010-04-22 Thread Barak A. Pearlmutter
. The project headquarters will be in the Hamilton Institute, NUI Maynooth, Ireland, http://www.hamilton.ie/. Applications to: "Barak A. Pearlmutter" -- Prof Barak A. Pearlmutter Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland http://www.bcl.hami

[Haskell-cafe] Proper Handling of Exceptional IEEE Floating Point Numbers

2010-04-22 Thread Barak A. Pearlmutter
min (0/0) 1 nan Hugs> min 1 (0/0) 1.0 Hugs> max (0/0) 1 1.0 Discuss? -- Barak A. Pearlmutter Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland http://www.bcl.hamilton.ie/~barak/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe