Home | History | Annotate | Download | only in unittests

Lines Matching refs:gdb_mpq

374    of a fixed point object, into a buffer, and then uses gdb_mpq's
390 read_fp_test (int unscaled, const gdb_mpq &scaling_factor,
392 gdb_mpq &expected, gdb_mpq &actual)
402 expected = gdb_mpq (unscaled, 1);
406 /* Perform various tests of the gdb_mpq::read_fixed_point method. */
411 gdb_mpq expected, actual;
415 gdb_mpq scaling_factor (3, 5);
445 /* A helper function which builds a gdb_mpq object from the given
446 NUMERATOR and DENOMINATOR, and then calls gdb_mpq's write_fixed_point
454 const gdb_mpq &scaling_factor,
465 gdb_mpq v (numerator, denominator);
471 /* Perform various tests of the gdb_mpq::write_fixed_point method. */
479 gdb_mpq scaling_factor (1, 3);
481 gdb_mpq vq;