rust/src/libstd/sync
Flavio Percoco ed7e576d9c Add a generic power function
The patch adds a `pow` function for types implementing `One`, `Mul` and
`Clone` trait.

The patch also renames f32 and f64 pow into powf in order to still have
a way to easily have float powers. It uses llvms intrinsics.

The pow implementation for all num types uses the exponentiation by
square.

Fixes bug #11499
2014-01-17 15:41:26 +01:00
..
arc.rs Test fixes and rebase conflicts 2013-12-25 23:10:46 -08:00
atomics.rs std: Introduce std::sync 2013-12-24 14:42:00 -08:00
deque.rs std: Introduce std::sync 2013-12-24 14:42:00 -08:00
mod.rs std: Introduce std::sync 2013-12-24 14:42:00 -08:00
mpmc_bounded_queue.rs Add a generic power function 2014-01-17 15:41:26 +01:00
mpsc_queue.rs std: Get stdtest all passing again 2013-12-24 19:59:52 -08:00
spsc_queue.rs std: Get stdtest all passing again 2013-12-24 19:59:52 -08:00