TiarkRompf/virtualization-lms-core — pull request #22 by julienrf (2012-09-10 13:28:03+00:00)
Title: Allow more heterogenous types in numeric operations.

This commit allows to implicitly promote the right-hand side of a numeric operation:

```scala
val a = unit(1.0)
val b = unit(1)
val c = a + b // c has type Rep[Double]
```

To achieve this it adds yet another overload of each operator...