• Home
  • Raw
  • Download

Lines Matching refs:libcResult

343                                           const BinaryOutput<T> &libcResult,  in explainUnaryOperationTwoOutputsError()  argument
350 if (mpfrIntResult != libcResult.i) { in explainUnaryOperationTwoOutputsError()
352 << "Libc integral result: " << libcResult.i << '\n'; in explainUnaryOperationTwoOutputsError()
357 MPFRNumber mpfrMatchValue(libcResult.f); in explainUnaryOperationTwoOutputsError()
365 " Libc floating point bits: ", libcResult.f, OS); in explainUnaryOperationTwoOutputsError()
373 << std::to_string(mpfrResult.ulp(libcResult.f)) << '\n'; in explainUnaryOperationTwoOutputsError()
389 const BinaryOutput<T> &libcResult, in explainBinaryOperationTwoOutputsError() argument
398 MPFRNumber mpfrMatchValue(libcResult.f); in explainBinaryOperationTwoOutputsError()
402 << "Libc integral result: " << libcResult.i << '\n' in explainBinaryOperationTwoOutputsError()
406 "Libc floating point result bits: ", libcResult.f, OS); in explainBinaryOperationTwoOutputsError()
409 OS << "ULP error: " << std::to_string(mpfrResult.ulp(libcResult.f)) << '\n'; in explainBinaryOperationTwoOutputsError()
425 T libcResult, in explainBinaryOperationOneOutputError() argument
432 MPFRNumber mpfrMatchValue(libcResult); in explainBinaryOperationOneOutputError()
443 "Libc floating point result bits: ", libcResult, OS); in explainBinaryOperationOneOutputError()
446 OS << "ULP error: " << std::to_string(mpfrResult.ulp(libcResult)) << '\n'; in explainBinaryOperationOneOutputError()
458 bool compareUnaryOperationSingleOutput(Operation op, T input, T libcResult, in compareUnaryOperationSingleOutput() argument
463 double ulp = mpfrResult.ulp(libcResult); in compareUnaryOperationSingleOutput()
464 bool bitsAreEven = ((FPBits<T>(libcResult).bitsAsUInt() & 1) == 0); in compareUnaryOperationSingleOutput()
480 const BinaryOutput<T> &libcResult, in compareUnaryOperationTwoOutputs() argument
484 double ulp = mpfrResult.ulp(libcResult.f); in compareUnaryOperationTwoOutputs()
486 if (mpfrIntResult != libcResult.i) in compareUnaryOperationTwoOutputs()
489 bool bitsAreEven = ((FPBits<T>(libcResult.f).bitsAsUInt() & 1) == 0); in compareUnaryOperationTwoOutputs()
505 const BinaryOutput<T> &libcResult, in compareBinaryOperationTwoOutputs() argument
510 double ulp = mpfrResult.ulp(libcResult.f); in compareBinaryOperationTwoOutputs()
512 if (mpfrIntResult != libcResult.i) { in compareBinaryOperationTwoOutputs()
514 if ((0x7 & mpfrIntResult) != (0x7 & libcResult.i)) in compareBinaryOperationTwoOutputs()
521 bool bitsAreEven = ((FPBits<T>(libcResult.f).bitsAsUInt() & 1) == 0); in compareBinaryOperationTwoOutputs()
538 T libcResult, double ulpError) { in compareBinaryOperationOneOutput() argument
540 double ulp = mpfrResult.ulp(libcResult); in compareBinaryOperationOneOutput()
542 bool bitsAreEven = ((FPBits<T>(libcResult).bitsAsUInt() & 1) == 0); in compareBinaryOperationOneOutput()