Search:

Type: Posts; User: grumpy

Search: Search took 0.06 seconds.

  1. Replies
    39
    Views
    4,270

    By that type of logic, it would not be a digital...

    By that type of logic, it would not be a digital device either.

    It would be composed of both analogue and digital devices, with ADC or DAC being part of the interface between devices.


    No it...
  2. Replies
    39
    Views
    4,270

    That is called an "analogue to digital converter"...

    That is called an "analogue to digital converter" (ADC). The reverse is a DAC.

    In general, a digital system is just one that uses a discrete (discontinuous) set of values to represent...
  3. Replies
    39
    Views
    4,270

    On such an architecture, sizeof() could be 1 for...

    On such an architecture, sizeof() could be 1 for all basic integral types (char, int, long, unsigned, etc) since the physical manifestation of a variable would be a single voltage line.
    ...
  4. Replies
    39
    Views
    4,270

    It can't, since sizeof(char) is defined to be 1,...

    It can't, since sizeof(char) is defined to be 1, and sizeof(any other complete type) is defined to a positive value.

    But that's got nothing to do with there being a one-to-one relationship of...
  5. Replies
    39
    Views
    4,270

    It is common implementation choices that lead to...

    It is common implementation choices that lead to the rule of thumb about sizeof(), not "fundamental mathematics" or laws of physics.

    All that can be implied from the implementation limits is...
  6. Replies
    39
    Views
    4,270

    The C standard only talks about the ranges of...

    The C standard only talks about the ranges of values that can be represented. It does not make reference to sizeof() at all in discussing storage of a value in an integral (or any other) type.
    ...
  7. Replies
    39
    Views
    4,270

    Not true. In practice it usually works out...

    Not true. In practice it usually works out that sizeof(char) <= sizeof(short) <= sizeof(int) <= sizeof(long) <= sizeof(long long). However, that is not actually a requirement in the standard....
Results 1 to 7 of 7