Bit :: Shiftreg.

Registri Bit Shift con operazioni rotate / spostamenti
Scarica ora

Bit :: Shiftreg. Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • Perl Artistic License
  • Prezzo:
  • FREE
  • Nome editore:
  • Steffen Beyer
  • Sito web dell'editore:
  • http://search.cpan.org/~stbey/

Bit :: Shiftreg. Tag


Bit :: Shiftreg. Descrizione

Registri di cambio bit con operazioni rotate / spostamenti Bit :: Shiftreg č un modulo perl che gli attrezzi ruotano a sinistra, ruotano a destra, spostano le operazioni a sinistra e spostare a destra con il flag di carry per tutti i tipi di numero intero C.Synopsis * Utilizzare bit: Shiftreg qw (bits_of_tice bits_of_short bits_of_int bits_bytes lsb_bytes msb_byte lsb_short msb_short lsb_int msb_int Lsb_longs msb_long rool_byte ror_byte shl_byte shr_byte rol_short ror_short shl_short shr_short rol_int ror_int shl_int shr_int rol_long ror_long shl_long shr_long); importa tutto (o un po ', lasciando fuori) delle operazioni e delle funzioni disponibili * Utilizzare Bit :: Shiftreg QW (: tutto); Importa tutte le operazioni e le funzioni disponibili * $ Versione = bit :: Shiftreg :: versione (); restituisce il numero di versione del modulo * $ bit = bits_of_byte (); Restituisce il numero di bit in un byte (char non firmato) sulla macchina * $ bit = bits_of_short (); restituisce il numero di bit in un corto non firmato sulla macchina * $ bit = bits_of_int (); restituisce il numero di bit in un Int non firmato sulla tua macchina * $ bit = bits_of_long (); restituisce il numero di bit in un non firmato a lungo sulla macchina * $ lsb = lsb_byte ($ valore); restituisce il bit meno significativo (LSB) di un byte (CHAR non firmato) * $ MSB = MSB_BYTE ($ VALUE); restituisce il bit pił significativo (MSB) di un byte (CHAR non firmato) * $ lsb = lsb_short ($ valore); restituisce il bit meno significativo (LSB) di un breve Schermo * $ MSB = MSB_SHSHORT ($ $ VALUE); Restituisce il bit pił significativo (MSB) di un breve Schermo * $ lsb = lsb_int ($ valore); restituisce il bit meno significativo (LSB) di un It * $ $ MSB = MSB_INT ($ $ Value); restituisce il bit pił significativo (MSB) di un INT * $ $ lsb = lsb_long ($ valore); restituisce il bit meno significativo (LSB) di un non firmato a lungo * $ MSB = MSB_Long ($ VALUE); restituisce il bit pił significativo (MSB) di un BITH PARTERE LONG * $ non firmato = ROL_BYTE ($ VALUE); * $ carry = ror_byte ($ valore); * $ carry_out = shl_byte ($ valore, $ carry_in); * $ carry_out = shr_byte ($ valore, $ carry_in); * $ carry = rol_short ($ valore); * $ carry = ror_short ($ valore); * $ carry_out = shl_short ($ valore, $ carry_in); * $ carry_out = shr_short ($ valore, $ carry_in); * $ carry = rol_int ($ valore); * $ carry = ror_int ($ valore); * $ carry_out = shl_int ($ valore, $ carry_in); * $ carry_out = shr_int ($ valore, $ carry_in); * $ carry = rol_long ($ valore); * $ carry = ror_long ($ valore); * $ carry_out = shl_long ($ valore, $ carry_in); * $ carry_out = shr_long ($ valore, $ carry_in); Requisiti: · Perl.


Bit :: Shiftreg. Software correlato