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: arithmetic.rs
    path of file: ./repos/prisma-engines/libs/prisma-value/src
    
    the code of the file until where you have to start completion: //! Note: Only number operations are implemented at the moment.
use super::*;
use std::ops::*;

/// Used right now to reduce code duplication, probably needs to
    
      fn $fname(self, rhs: Self) -> Self::Output {
        match (self, rhs) {
          (PrismaValue::Null, _) | (_, PrismaValue::Null) => PrismaValue::Null,

          (PrismaValue::Int(l), PrismaValue::Int(r)) => PrismaValue::Int(l $op r),
          (PrismaValue::Int(l), PrismaValue::Float(r)) => {
              PrismaValue::Int(l $op r.to_i64().expect("Unable to convert decimal to i64"))
          }

          (PrismaValue::Float(l), PrismaValue::Int(r)) => PrismaValue::Float(
              l $op (BigDecimal::from_i64(r).expect("Invalid i64 to decimal conversion.")),
          ),

          (PrismaValue::Float(l), PrismaValue::Float(r)) => PrismaValue::Float(l $op r),

          _ => unimplemented!(),
        }
      }