The most recent example I can find is the UNISYS 2200 series, based on UNIVAC, with ones-complement arithmetic. The various models were produced between 1986 and 1997 but the OS was still in active development as late as 2015. They also had a C compiler, as seen here.
It seems likely that they may still be in use today.
Related Contents:
- Modulo operation with negative numbers
- Valid, but worthless syntax in switch-case?
- How do I make an infinite empty loop that won’t be optimized away?
- How does this piece of code determine array size without using sizeof( )?
- Confusion about array initialization in C
- Printing null pointers with %p is undefined behavior?
- Is it guaranteed to be safe to perform memcpy(0,0,0)?
- How do I make an infinite empty loop that won’t be optimized away?
- Can argc be zero on a POSIX system?
- Can code that will never be executed invoke undefined behavior?
- What is C17 and what changes have been made to the language?
- What are the valid signatures for C’s main() function?
- What are the common undefined/unspecified behavior for C that you run into? [closed]
- What is the behavior of printing NULL with printf’s %s specifier?
- What is the simplest standard conform way to produce a Segfault in C?
- Why are there two ways of expressing NULL in C?
- Is a C compiler allowed to coalesce sequential assignments to volatile variables?
- Is 0 an octal or a decimal in C? [duplicate]
- Does &((struct name *)NULL -> b) cause undefined behaviour in C11?
- Does a[a[0]] = 1 produce undefined behavior?
- Loop starting at -1 doesn’t print anything [duplicate]
- Does the C standard permit assigning an arbitrary value to a pointer and incrementing it?
- What’s the meaning of “reserved for any use”?
- Why does having an `int (*)(float)` point to an `int foo()` trigger a warning, but having an `int (*)(double)` point to it doesn’t?
- When is it valid to access a pointer to a “dead” object?
- Is &errno legal C?
- Difference between i++ and (i)++ in C
- Different Pointer Arithmetic Results when Taking Address of Array
- If the size of “long” and “int” are the same on a platform – are “long” and “int” different in any way?
- What is the use of zero offset in fseek() function with SEEK_CUR?
- Is there a useful case using a switch statement without braces?
- Order of evaluation of array indices (versus the expression) in C
- Is it well-defined to use a pointer pointing to one-past-malloc?
- Why should we typedef a struct so often in C?
- What is the format specifier for unsigned short int?
- Are there any open source C libraries with common data structures? [closed]
- How can I compile without warnings being treated as errors?
- What is a trampoline function?
- How can I multiply and divide using only bit shifting and adding?
- Can multithreading be implemented on a single processor system?
- How can I convert a binary file to the text declaring a C/C++ array with that content?
- “int *nums = {5, 2, 1, 4}” causes a segmentation fault
- Do I need to keep a file open after calling mmap on it?
- Where to find “gmp.h”?
- What does “[*]” (star modifier) mean in C? [duplicate]
- How to replicate vector in c?
- Violating of strict-aliasing in C, even without any casting?
- How do I print uint32_t and uint16_t variables’ value?
- Win32 – Backtrace from C code
- Is there a a way to achieve closures in C