Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6980593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:02:42+00:00 2026-05-27T18:02:42+00:00

I was noticing some wording changes to section 5.6 for C++11. (I’m looking at

  • 0

I was noticing some wording changes to section 5.6 for C++11. (I’m looking at the draft C++ standard N3242, dated 2011-02-28.) The new (draft) standard includes the sentence:

“For integral operands the / operator yields the algebraic quotient with any fractional part discarded;”

This statement is not in 5.6 of the 03 standard (ISO-IEC-14882-2003), but I don’t think this is a change, is it? This is how C and C++ has worked for years unless I’ve lost my mind (which may have happened anyway).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:02:43+00:00Added an answer on May 27, 2026 at 6:02 pm

    You’re not going mad.

    A footnote to 5.6/4 said:

    [C++03 footnote 74]: According to work underway toward the revision
    of ISO C, the preferred algorithm for integer division follows the
    rules defined in the ISO Fortran standard, ISO/IEC 1539:1991, in which
    the quotient is always rounded toward zero.

    In C++11 this behaviour is explicitly required rather than being “preferred”; the change is listed in the compatibility section:

    [C++11: C.2.2]:
    Change: Specify rounding for results of integer / and %
    Rationale: Increase portability, C99 compatibility.
    Effect on original feature: Valid C++ 2003 code that uses integer division
    rounds the result toward 0 or toward negative infinity, whereas this
    International Standard always rounds the result toward 0.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been noticing some very strange usage of O(1) in discussion of algorithms
This afternoon, upon noticing a broken build and the fact that some files looked
I'm working on a media streaming app, and noticing some odd behavior. Media stops
I'm noticing some conversations not getting closed, staying in CONVERSING state. The strange thing
I'm noticing some problems with the perlio layer in perl. Took me a good
I'm noticing some behavior that I don't like, and I'm wondering if this is
So I've been noticing some strange results in how google peruses our site. One
In some Python code I've read I keep noticing this code: return dict(somekey=somevalue) Does
I've an admin account under some team in apple. I noticing that I have
I'm doing some per table inheritance and all is working great- but I'm noticing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.