From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40562 invoked by alias); 2 Apr 2017 19:54:49 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 40544 invoked by uid 89); 2 Apr 2017 19:54:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=Research, PhD, sherrill, Sherrill X-HELO: OARmail.OARCORP.com Received: from oarmail.oarcorp.com (HELO OARmail.OARCORP.com) (67.63.146.244) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 02 Apr 2017 19:54:47 +0000 Received: from [192.168.0.65] (207.98.215.166) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.3.389.2; Sun, 2 Apr 2017 14:54:46 -0500 To: "newlib@sourceware.org" From: Joel Sherrill Subject: Resurrecting Missing Methods in inttypes.h Message-ID: Date: Sun, 02 Apr 2017 19:54:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017/txt/msg00240.txt.bz2 Hi A long time ago, I asked about adding the missing methods in inttypes.h. The thread meandered and never came to a conclusion. It is here: https://sourceware.org/ml/newlib/2013/msg00626.html I **THINK** the consensus was that: + we want individual bodies so they can be linked to and documented in newlib style. + __int128_t is not an issue. + Cygwin is doing this with "aliases" imaxabs = llabs imaxdiv = lldiv strtoimax = strtoll strtoumax = strtoull wcstoimax = wcstoll wcstoumax = wcstoull It looks like the FreeBSD implementation does **NOT* depend on any underlying size assumptions. I would like to propose merging the FreeBSD implementations and would like suggestions on adding documentation. Thanks. -- Joel Sherrill, Ph.D. Director of Research & Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35806 Support Available (256) 722-9985