public static bool operator ==(NumeroDecimal dec, NumeroBinario bin) { return(dec.numero == Conversor.BinarioDecimal((string)bin)); }
public static double operator -(NumeroDecimal dec, NumeroBinario bin) { return(dec.numero - Conversor.BinarioDecimal((string)bin)); }