C++ Logo

sg19

Advanced search

Re: [isocpp-sg19] SG19 Oct 8 2026 monthly call

From: Michael Wong <fraggamuffin_at_[hidden]>
Date: Fri, 23 Oct 2026 10:36:46 -0400
Notes:
Statistical Library Design Discussion
Overview

The meeting reviewed statistical library design updates and focused on how
users should control result types for statistical functions.
Design Decisions

   - Clarified standard deviation as the square root of the absolute
   variance and corrected range terminology for parallel implementations.
   - Tightened statistical definitions to prevent division by zero.
   - Preferred named structures, including statistical_set-style types and
   named mean/standard-deviation results, over Boolean flags or positional
   values.
   - Special values will not currently be checked; the treatment of silent
   NaNs and other constraints remains unresolved.

Type Promotion

   - Automatic promotion, user-side data transformation, and initialization
   parameters were viewed as poor approaches because they can be surprising,
   costly, or mathematically unsuitable.
   - The preferred design is an explicit return-type template argument; the
   group suggested requiring it for every call rather than providing an
   overload with an implicit default.

Open Questions

   - Should the API require users to specify the internal and return type
   on every call?
   - How will the design behave in real codebases, and what usage patterns
   will emerge from repository-based examples?

Action Items

   - Update the Croydon-related values in the paper to reflect the
   committee's vote.
   - Change the statistical functions to require an explicitly specified
   return type rather than supporting the overload that infers it.
   - Search GitHub repositories for programs that compute statistics and
   identify candidate codebases to update with ranges and the proposed
   statistical API, then use them to evaluate the interface.

Outline Standards Updates

   - Standard deviation uses the square root of the absolute variance.
   - Parallel implementations use forward ranges.
   - Statistical definitions were revised to avoid division by zero.

API Naming

   - Statistical sample and population options are represented as
   structures rather than Boolean parameters.
   - Named structures are favored for paired results such as mean and
   standard deviation.

Special Values

   - The current direction is not to check for special values.
   - Silent NaNs and additional constraints requiring branching remain
   under consideration.

Return-Type Promotion

   - Discussed four approaches: no transformation, automatic promotion, an
   initialization parameter, and an explicit return-type template argument.
   - The explicit return-type approach was favored, with discussion about
   requiring it on every call.

Implementation Evidence

   - The discussion emphasized the need to examine real programs that
   compute statistics and use ranges, rather than relying only on library
   publication examples.





On Thu, Oct 8, 2026 at 2:02 PM Michael Wong <fraggamuffin_at_[hidden]> wrote:

> Sorry this is the wrong callin zoom. Please use this:
> https://iso.zoom.us/j/92872076567?pwd=vftBSI36jdDvpehrxaY3Rs5un5pgk8.1
>
> On Thu, Oct 8, 2026 at 10:05 AM Michael Wong <fraggamuffin_at_[hidden]>
> wrote:
>
>> Topic: SG19 Machine Learning Monthly Meeting
>> Focus: Stats
>> Time: 02:00 PM Eastern Time (US and Canada)
>> Every month on the Second Thu
>>
>> Please download and import the following iCalendar (.ics) files to
>> your calendar system.
>> Monthly:
>> https://iso.zoom.us/meeting/tJ0kcOGvpzMvGNPqhE6xz-l6prC_nKP0lUcS/ics?icsToken=DDZ5JNBb6PYhUdSZxwAALAAAAIMaV47wjekDB9bQPB0nZe9SOxhl78u3FrFlu0iVNoURVCMFGd8tyN_XHIf77yhRwOWY9n_8HmTldADWlzAwMDAwMQ&meetingMasterEventId=gtPct5vfSpSXMe1GqOkyhQ
>>
>> Join from PC, Mac, Linux, iOS or Android:
>> https://iso.zoom.us/j/99978798527?pwd=nXOqfOzroZgFwPkUprywbXMQrfwycr.1
>> Password: 933427
>>
>> Or iPhone one-tap :
>> US: +13017158592 <(301)%20715-8592>,,99978798527# or +13126266799
>> <(312)%20626-6799>,,99978798527#
>> Or Telephone:
>> Dial(for higher quality, dial a number based on your current
>> location):
>> US: +1 301 715 8592 <(301)%20715-8592> or +1 312 626 6799
>> <(312)%20626-6799> or +1 470 250 9358 <(470)%20250-9358> or +1 470 381
>> 2552 <(470)%20381-2552> or +1 646 518 9805 <(646)%20518-9805> or +1
>> 646 876 9923 <(646)%20876-9923> or +1 651 372 8299 <(651)%20372-8299>
>> or +1 786 635 1003 <(786)%20635-1003> or +1 267 831 0333
>> <(267)%20831-0333> or +1 346 248 7799 <(346)%20248-7799> or +1 408 638
>> 0968 <(408)%20638-0968> or +1 602 753 0140 <(602)%20753-0140> or +1
>> 669 219 2599 <(669)%20219-2599> or +1 669 900 6833 <(669)%20900-6833>
>> or +1 720 928 9299 <(720)%20928-9299> or +1 971 247 1195
>> <(971)%20247-1195> or +1 206 337 9723 <(206)%20337-9723> or +1 213 338
>> 8477 <(213)%20338-8477> or +1 253 215 8782 <(253)%20215-8782> or 888
>> 788 0099 <(888)%20788-0099> (Toll Free) or 877 853 5247
>> <(877)%20853-5247> (Toll Free)
>> Meeting ID: 999 7879 8527
>> Password: 933427
>> International numbers available: https://iso.zoom.us/u/acqgszVKqM
>> 1. Opening and introduction
>>
>> *ISO Code of Conduct:*
>>
>>
>> https://isotc.iso.org/livelink/livelink?func=ll&objId=20882226&objAction=Open&nexturl=%2Flivelink%2Flivelink%3Ffunc%3Dll%26objId%3D20158641%26objAction%3Dbrowse%26viewType%3D1
>>
>> *ISO patent policy:*
>>
>>
>> https://isotc.iso.org/livelink/livelink/fetch/2000/2122/3770791/Common_Policy.htm?nodeid=6344764&vernum=-2
>>
>> *IEC Code of Conduct:*
>>
>> https://www.iec.ch/basecamp/iec-code-conduct-technical-work
>>
>> *WG21 Code of Conduct:*
>>
>>
>> https://isocpp.org/std/standing-documents/sd-4-wg21-practices-and-procedures
>>
>> -
>>
>> *1.1* Roll call of participants
>>
>>
Michael Wong (CA)
Pete Isensee
Richard Dosselmann
Samuel Obeng
Vinnie Falco
>
>
>> -
>>
>> *1.2* Adopt agenda
>> -
>>
>> *1.3* Action items from previous meetings
>> -
>>
>> 1.4 Approve previous meeting minutes.
>>
>> 2. Main issues (125 min)
>>
>> *2.1 General logistics*
>>
>> -
>>
>> Future and past meeting plans (see section
>>
>> *2.2 Any proposal for reviews?*
>>
>> * Graph is scheduled for this month.*
>>
>> -
>>
>> SG14/SG19 features/issues/defects:
>>
>>
>> https://docs.google.com/spreadsheets/d/1JnUJBO72QVURttkKr7gn0_WjP--P0vAne8JBfzbRiy0/edit#gid=0
>>
>> *2.3 Domain-specific discussions*
>>
>> *2.4 Other Papers and proposals*
>>
>> *2.5 Future F2F meetings:*
>>
>> *2.6 Future C++ Standard meetings:*
>>
>> https://isocpp.org/std/meetings-and-participation/upcoming-meetings
>> 3. Any other business
>>
>> 4. Review
>>
>> 4.1 Review and approve resolutions and issues [e.g., changes to SG's
>> working draft]
>>
>> 4.2 Review action items (5 min)
>>
>> 5. Closing process
>>
>> 5.1 Establish next agenda
>>
>>
>> 5.2 Future meeting
>> Jan 15, 2026 02:00 PM ET: Statistics DONE
>> Feb 12, 2026 02:00 PM ET: Graph DONE
>> Mar 12, 2026 02:00 PM ET: Statistics; F2F London Cancelled
>> Apr 9, 2026 02:00 PM ET: Graph DONE
>> May 14, 2026 02:00 PM ET: Statistics Cancelled
>> June 11, 2026 02:00 PM ET: F2F cancelled
>> July 9, 2026 02:00 PM ET: Graph
>> Aug 13, 2026 06:00 PM ET: Statistics Cancelled
>> Sep 10, 2026 02:00 PM ET: CPPCON 9/12-18 Live call
>> Oct 8, 2026 02:00 PM ET: Stats
>> Nov 12, 2026 02:00 PM ET: F2F, cancelled
>> Dec 10, 2026 02:00 PM ET: Graph
>>
>

Received on 2026-10-23 14:37:02