Search:

Type: Posts; User: steve_bank; Keyword(s):

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    48
    Views
    982

    And a version minimizing the divisions. I haven't...

    And a version minimizing the divisions. I haven't figured out how ro use the VS debugger to do timing and memory analysis.


    void main() {
    int i,_3,_5,flag;
    for (i = 0; i < 4; i++) {
    _3...
  2. Replies
    48
    Views
    982

    The code I wrote. void main() { int...

    The code I wrote.

    void main() {
    int i,flag;
    for (i = 0; i < 4; i++) {
    if (!(i % 3) && !(i % 5))flag = 2;
    if (!(i % 3) && !(i % 5))flag = 2;
    else if (!(i % 5))flag = 0;
    }
  3. Replies
    48
    Views
    982

    A simple loop. for (i = 0; i < 4; i++) x[i]...

    A simple loop.

    for (i = 0; i < 4; i++) x[i] = 2 * i;
    00CF4468 mov dword ptr [i],0
    00CF446F jmp main+3Ah (0CF447Ah)
    00CF4471 mov eax,dword ptr [i]
    00CF4474 ...
  4. Replies
    48
    Views
    982

    I am not familiar with the current assmebly...

    I am not familiar with the current assmebly language for Intel processors, but the flow can be sn.

    High level code generates assembly language. MOV is between processor and phyasical memory.
    ...
  5. Replies
    9
    Views
    102

    NASA is relocating?

    NASA is relocating?
  6. In reliability there is a tradeoff between...

    In reliability there is a tradeoff between environmental screening and inducing long term failures in the secreting.

    'Shake and bake' vibration and temperature cycling.

    There are probably...
  7. Replies
    3
    Views
    66

    I suppose it was an attempt at making friends...

    I suppose it was an attempt at making friends with China. There has been a coloration between NASA and China.

    Put a sticker on it 'Funded by American consumers and enabled by stolen intellectual...
  8. Replies
    48
    Views
    982

    #define s a + b; int f(int a, int b) { return(a...

    #define s a + b;
    int f(int a, int b) { return(a + b); }
    void main() {
    int k,a =1, b=2,c;
    c = f(a, b);
    k = s;
    printf("c %d k %d\n",c,k);

    }For the beginner, what if any are the...
  9. Replies
    8
    Views
    207

    My pointless endless loop detector is flashing. I...

    My pointless endless loop detector is flashing. I have stated my position several times. If my meaning is not clear at this pont there is nothing more for me tosay.

    Continue your rationalization...
  10. Replies
    48
    Views
    982

    Hilarious. By all means, post an optimized...

    Hilarious.


    By all means, post an optimized code. But to prove it is optimized and worth the time spent you would have to look at the assembly code generated by the compiler, count the number of...
  11. Replies
    13
    Views
    285

    Lsbs are a bit mask, I assume sign bits. Sign...

    Lsbs are a bit mask, I assume sign bits.
    Sign bits are extracted.
    The sugb bits ae set to zero.
    X is shifed and the sign bits are put back in.

    Don’t know why the addition and subtraction....
  12. Replies
    13
    Views
    285

    https://en.wikipedia.org/wiki/Binary-coded_decimal...

    https://en.wikipedia.org/wiki/Binary-coded_decimal

    Lets not forget Binary Coded Decimal. There were early processors that implemented BCD.

    An eight bit byte could store two BCD numbers.
  13. Replies
    74
    Views
    1,365

    I don't need a' 'heaven' . The idea is a useful...

    I don't need a' 'heaven' . The idea is a useful metaphor.


    Reality is what it is regardless of how we think about it.

    There is insight.

    Shakespeare, 'the fault is not in the stars, it is...
  14. Replies
    74
    Views
    1,365

    A naturalist, ok but what does that have to do...

    A naturalist, ok but what does that have to do with the price of eggs? Whay does yiur belif mean in any material sense?

    Can it help you build a bridge e or grow food?

    Worship nature or worship...
  15. Replies
    416
    Views
    13,106

    Rationalizing. I know god xists because it is...

    Rationalizing.

    I know god xists because it is in the bible.
    I know the bible is true because god is in it.
  16. Replies
    416
    Views
    13,106

    Christians are like the Energizer Bunny, keeps on...

    Christians are like the Energizer Bunny, keeps on drumming. Or the old Times watch commercial, it takes a licking and keeps on ticking.
  17. Replies
    74
    Views
    1,365

    Uhhh.. a stitch in time saves 9? Early to be...

    Uhhh.. a stitch in time saves 9?

    Early to be early to rise makes a man healthy,wealthy, and wise. Ben Fankllin.

    Put off to tomorrow what you vould have dnoe yesterday. Me.

    I got a million...
  18. Replies
    416
    Views
    13,106

    More rationalization and diversion. It all...

    What is intriguing from your above post steve is... that it seems you have some criteria "acceptance" for those "witnesses" for santa and Bigfoot and the Loc Ness Monster.

    What was the...
  19. Replies
    74
    Views
    1,365

    To repeat my position on theforum, I see no...

    Show where you found the lie of free thinking, pure Gnostic fare, led to oppression.

    As to centralized power, to the top being bishops, Parfait in Cathar Gnostic Christianity, yes.

    Not the top...
  20. Replies
    48
    Views
    982

    void main() { int i; for (i = 1; i

    void main() {
    int i;
    for (i = 1; i <= 100; i++){
    if (!(i % 3) && !(i % 5)) printf("FUZBUZ\n");
    else if(!(i % 5)) printf("FUZ\n ");
    else if(!(i % 3)) printf("BUZ\n ");
    .else...
  21. Replies
    16
    Views
    232

    Dr Z hit it exactly.

    Dr Z hit it exactly.
  22. Replies
    47
    Views
    2,892

    c = a -b Subtraction in the processor is done...

    c = a -b

    Subtraction in the processor is done in 2s complement, an addition instead of binary direct subtraction. 2s comp is doe in hardware and automatically keeps track of the sign.

    Numbers...
  23. Replies
    93
    Views
    1,706

    I'll narrow it down. It s either 1 or 2.

    I am concentrating on a number and directing it to you, what is it?[/QUOTE]

    I'll narrow it down.

    It s either 1 or 2.
  24. Replies
    93
    Views
    1,706

    I am concentrating on a number and directing it...

    I am concentrating on a number and directing it to you, what is it?
  25. Replies
    74
    Views
    1,365

    I am so sad, no one understands me. I understand...

    I am so sad, no one understands me. I understand everything, nobody else knows anything.

    It is such a burden being perfect.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4