some well known stupidness in c99

G

glen herrmannsfeldt

pete said:
Phil Carmody wrote:
In the C90 standard,
the bitwise operators were described as returning values.

While they weren't added to the Fortran standard until Fortran 95,
functions for doing bitwise operation were a popular non-standard
extension for many years before. MOD is also a function in Fortran,
not an operator like in C.

On the other hand exponentiation is an operator in Fortran and
a function in C.

-- glen
 
L

lawrence.jones

pete said:
In the C90 standard,
the bitwise operators were described as returning values.

And C99 also described the unary & operator as returning a value. They
were cleaned up for C11.
 
8

88888 Dihedral

Rui Macielæ–¼ 2012å¹´11月19日星期一UTC+8上åˆ5時26分44秒寫é“:
fir wrote:








It sounds like you don't do any work with C or C++.





Rui Maciel

C was targeted for being used in various
unix systems that have different HW constraints.

Of course, if the compiler or interpreter has
to sip through the source only once to produce
the results, then the preprocessor part in C
that even allows a #deine line to be really long
is kind of pain in the heap.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top