public static double operator -(NumeroDecimal d, NumeroBinario b) { return(d.num - Conversor.BinarioDecimal(b.num)); }
public static string operator -(NumeroBinario b, NumeroDecimal d) { return(Conversor.DecimalBinario(Conversor.BinarioDecimal(b.num) - d.num)); }
public static bool operator ==(NumeroDecimal d, NumeroBinario b) { return(d.num == Conversor.BinarioDecimal(b.num)); }
public static bool operator ==(NumeroBinario b, NumeroDecimal d) { return(b.num == Conversor.DecimalBinario(d.num)); }