C to Delphi expressions
From: David (thedbok_at_hotmail.com)
Date: 05/24/04
- Next message: Maarten Wiltink: "Re: C to Delphi expressions"
- Previous message: Geoffrey McRae: "IOCTL_CDROM_RAW_READ"
- Next in thread: Maarten Wiltink: "Re: C to Delphi expressions"
- Reply: Maarten Wiltink: "Re: C to Delphi expressions"
- Reply: Rudy Velthuis: "Re: C to Delphi expressions"
- Reply: David: "Re: C to Delphi expressions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 May 2004 02:14:19 -0700
Hi,
Could someone help me with converting some C expressions to Delphi
please?
1) A=a-(a>>5)-1;
2) a-=(b*c)>>5;
3) a-=(b*c>>5)
4) a=(b+(c<<5))%(b<<5)
What a nightmare!
My maths are pretty terrible anyway, but it's the ">>" , "%" and the
"-=" expressions that have got me confused.
Cheers!
David
- Next message: Maarten Wiltink: "Re: C to Delphi expressions"
- Previous message: Geoffrey McRae: "IOCTL_CDROM_RAW_READ"
- Next in thread: Maarten Wiltink: "Re: C to Delphi expressions"
- Reply: Maarten Wiltink: "Re: C to Delphi expressions"
- Reply: Rudy Velthuis: "Re: C to Delphi expressions"
- Reply: David: "Re: C to Delphi expressions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|