If you want a generic pi, you should use the one in the Float trait
If you have
let x : f64 = ...;
x * Float::pi() will resolve to f64 pi
Philippe
On 01/04/2015 05:21 PM, Manish Goregaokar wrote:
We have two types of floats, there is a Pi of both precision levels. I
don't think it's anything m
Hi,
In my project, I use something like:
struct Database {
db: Box,
logger: Box,
}
Does anyone know what is the difference? They seem to work the same to me.
Philippe
On 12/01/2014 05:04 PM, Federico Ravasio wrote:
понедельник, 1 декабря 2014 г. в 16:59, Ryan Michael написал:
I'm cu
Hi,
The bug is reported here https://github.com/rust-lang/rust/issues/17485
but I got no answer. I just added the stack trace (thanks benjamin).
Philippe
On 09/18/2014 10:00 PM, Philippe wrote:
Hi again,
I think this is a bug in rust. Here is a minimal example attached.
Uncompress and type