Search found 30 matches: xor

Return to advanced search

AYUDA Validacion LRC para datafono

... checksum As Integer = 0 'Este valor lo reemplazé por 2 y todo salió de maravillas. For Each c As Char In GetStringFromHex(s) checksum = checksum Xor Convert.ToByte(c) Nextini Return checksum.ToString("X2") End Function Private Function GetStringFromHex(ByVal s As String) As String Dim ...
by russimicro
Sat Mar 30, 2024 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA Validacion LRC para datafono
Replies: 2
Views: 488

FWH or harbour function support CRC? ( Solved )

Hi

FWH or Harbour any CRC function?
I have some data below:
    CRC WIDTH : CRC-16
    Polynomial : 0x8005
    Initial Value : 0xFFFF
    Final Xor Value: 0x0000

input this 000107 -> CRC RESULT 0x8811
by richard-service
Wed Jan 10, 2024 10:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH or harbour function support CRC? ( Solved )
Replies: 16
Views: 1739

Re: New FTDN October/Octure (FWH 22.10)

... Implementa redes neuronales en FWH. Por favor, revise el ejemplo samples\neural.prg para un ejemplo funcional entrenando operaciones XOR usando Inteligencia Artificial. * Nueva: Nuevas funciones dbRollBack() y dbRollBackAll() en source\function\dbffunc1.prg para ayudar a la implementación ...
by Antonio Linares
Mon Nov 07, 2022 9:38 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octure (FWH 22.10)
Replies: 2
Views: 862

New FTDN October/Octure (FWH 22.10)

... Fixed now. * New: Class TNeuralNetwork implements neural networks on FWH. Please review samples\neural.prg for a working example traininig Xor operations using AI. * New: New functions dbRollBack() and dbRollBackAll() in source\function\dbffunc1.prg to help implementation of transacion ...
by Antonio Linares
Wed Nov 02, 2022 11:55 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octure (FWH 22.10)
Replies: 2
Views: 862

The smallest neural network for Harbour

... to output layer   local aData := { { 0, 0, 0 }, { 0, 1, 1 }, { 1, 0, 1 }, { 1, 1, 0 } }  // Xor values   local nError := 1, nAt, nDelta, nHDelta   SET DECIMALS TO 9    for n = 1 to INPUT_SIZE        for m = 1 to HIDDEN_SIZE            aWih[ ...
by Antonio Linares
Tue Sep 13, 2022 12:29 am
 
Forum: AI Introduction (Harbour code and samples)
Topic: The smallest neural network for Harbour
Replies: 1
Views: 641

Re: Bugs in latest Harbour

João,

In xHarbour ^^ has this meaning:

<x> ^^ <y> - bit xor


https://github.com/harbour/core/blob/master/doc/xhb-diff.txt
by Antonio Linares
Mon Jan 11, 2016 6:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bugs in latest Harbour
Replies: 22
Views: 4817

Re: DIREFENCIA ENTRE HARBOUR/XHARBOUR

... support plus few additional methods. BIT Operators: -------------- xHarbour support (including compile time optimization) BIT operations: AND, OR, XOR, SHIFT RIGHT, SHIFT LEFT Except for 'XOR' C syntax is used: & == and | == or ^^ == xor >> == shift right << == shift left Please ...
by Antonio Linares
Sun Jul 12, 2015 9:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: DIREFENCIA ENTRE HARBOUR/XHARBOUR
Replies: 4
Views: 2282

Re: TEXTOUT() function cannot use some predefined fonts?

... one and I will end up with garbage on the screen? Is there a way to erase the first text and write another at the same position? Something like XOR in some languages which erases the text if I repeat the same text again.
by codemaker
Mon Oct 07, 2013 4:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TEXTOUT() function cannot use some predefined fonts?
Replies: 21
Views: 4544

Re: Conseguir la maxima velocidad del EXE creado por Harbour

... "1" y la carencia de ese atributo cuando esta "0". Aqui podemos, de forma muy rapida, mediante operaciones bitwise (AND, OR, o XOR) investigar cuales productos tienen esa caracteristicas y cuales no, Lo anterior es posible ya que estas operaciones "bitwise" se ejecutan ...
by George
Tue Mar 13, 2012 10:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Conseguir la maxima velocidad del EXE creado por Harbour
Replies: 29
Views: 10588

Re: FWH64 y ADS

... Puedes almacenar un word de 64 bits en una sola unidad y luego con una sola instruccion ejecutar operaciones tipos bitwise: AND (&), OR (|) o XOR (^). Tambien en una sola instruccion aplicaria la operacion "Complement (~)" ; estas llamadas las haces a traves de funciones en C: Ve ...
by George
Thu Mar 01, 2012 1:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWH64 y ADS
Replies: 10
Views: 1778

Re: Xor() == nXor() == NumXor() ?

Thanks for confirmation,
Dutch
by dutch
Mon Nov 30, 2009 7:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xor() == nXor() == NumXor() ?
Replies: 3
Views: 829

Re: Xor() == nXor() == NumXor() ?

Dear All,

After test, I found all function return the same value.

It means
Xor(funcky) == nXor(FWH) == NumXor(xHarbour) == .T.

Is it correct?

Regards,
Dutch
by dutch
Mon Nov 30, 2009 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xor() == nXor() == NumXor() ?
Replies: 3
Views: 829

Xor() == nXor() == NumXor() ?

Dear All,

I try to convert my Clipper to 32bits. Xor() function is equal to which function?

Xor(funcky) == nXor(FWH)
or
Xor(funcky) == NumXor(xHarbour)

Which one is equal to?

Regards,
Dutch
by dutch
Mon Nov 30, 2009 5:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xor() == nXor() == NumXor() ?
Replies: 3
Views: 829

Re: Necesito la funcion XOR

Gracias Distinguidos

Ahora me funciona perfecto.

Saludos

Adhemar
by acuellar
Tue Mar 17, 2009 1:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Necesito la funcion XOR
Replies: 5
Views: 580
Next

Return to advanced search