You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: f64.rs
    path of file: ./repos/gluesql/core/src/data/value/binary_op
    
    the code of the file until where you have to start completion: use {
    super::TryBinaryOperator,
    crate::{
        data::{NumericBinaryOperator, ValueError},
        prelude::Value,
        result::Result,
    },
    rust_decimal::prelude::Decimal,
    std::cmp::Ordering,
    Value::*,
};

impl PartialEq<Value> for f64 {
    fn eq(&self, other: &Value) -> bool {
        let lhs = *self;

        match *other {
            I8(rhs) => (lhs - (rhs as f64)).abs() < f64::EPSILON,
            I16(rhs) => (lhs - (rhs as f64)).abs() < f64::EPSILON,
            I32(rhs) => (lhs - (rhs as f64)).abs() < f64::EPSILON,
            I64(rhs) => (lhs - (rhs as f64)).abs() < f64::EPSILON,
            I128(rhs) => (lhs - (rhs as f64)).abs() < f64::EPSILON,
            U8(rhs) => (lhs - (rhs as f64)).abs() < f64::EPSILON,
            U16(rhs) => (lhs - (rhs as f64)).abs() < f64::EPSILON,
            U32(rhs) => (lhs - (rhs as f64)).abs() < f64::EPSILON,
            U64(rhs) => (lhs 
    
    fn partial_cmp() {
        let base = 1.0_f64;

        assert_eq!(base.partial_cmp(&I8(1)), Some(Ordering::Equal));
        assert_eq!(base.partial_cmp(&I16(1)), Some(Ordering::Equal));
        assert_eq!(base.partial_cmp(&I32(1)), Some(Ordering::Equal));
        assert_eq!(base.partial_cmp(&I64(1)), Some(Ordering::Equal));
        assert_eq!(base.partial_cmp(&I128(1)), Some(Ordering::Equal));
        assert_eq!(base.partial_cmp(&U8(1)), Some(Ordering::Equal));
        assert_eq!(base.partial_cmp(&U16(1)), Some(Ordering::Equal));
        assert_eq!(base.partial_cmp(&U32(1)), Some(Ordering::Equal));
        assert_eq!(base.partial_cmp(&U64(1)), Some(Ordering::Equal));
        assert_eq!(base.partial_cmp(&U128(1)), Some(Ordering::Equal));
        assert_eq!(base.partial_cmp(&F32(1.0_f32)), Some(Ordering::Equal));
        assert_eq!(base.partial_cmp(&F64(1.0)), Some(Ordering::Equal));
        assert_eq!(
            base.partial_cmp(&Decimal(Decimal::ONE)),
            Some(Ordering::Equal)
        );

        assert_eq!(base.partial_cmp(&Bool(true)), None);
    }