Skip to content

Commit

Permalink
rust fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bksaiki committed Mar 8, 2024
1 parent fbcb1cc commit ddf3f32
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/quadratic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@ use mpmfnum::ieee754::IEEE754Context;
use mpmfnum::ops::*;
use mpmfnum::*;

context_alias!(QuadraticCtx, RoundedNeg + RoundedAdd + RoundedSub + RoundedMul + RoundedDiv + RoundedSqrt);
context_alias!(
QuadraticCtx,
RoundedNeg + RoundedAdd + RoundedSub + RoundedMul + RoundedDiv + RoundedSqrt
);

fn naive_quad<Ctx>(a: &Ctx::Format, b: &Ctx::Format, c: &Ctx::Format, ctx: &Ctx) -> (Ctx::Format, Ctx::Format)
fn naive_quad<Ctx>(
a: &Ctx::Format,
b: &Ctx::Format,
c: &Ctx::Format,
ctx: &Ctx,
) -> (Ctx::Format, Ctx::Format)
where
Ctx: QuadraticCtx,
{
Expand Down

0 comments on commit ddf3f32

Please sign in to comment.