delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/25/19:07:53

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sat, 25 Jul 2009 19:07:37 -0400
Message-ID: <bc4ed2190907251607t35cecacave62dded3301d77d6@mail.gmail.com>
Subject: math.h:nexttoward missing in cygwin
From: David Manura <dm DOT list AT math2 DOT org>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

The math.h nexttoward function [1] in math.h is not available in
Cygwin gcc (but does exist under the ming compiler in Cygwin).  It's
not clear to me though when nexttoward is preferred over nextafter.
Boost calls nexttoward a legacy function [2].

[1] http://www.opengroup.org/onlinepubs/009695399/functions/nextafter.html
[2] http://www.boost.org/doc/libs/1_39_0/libs/math/doc/sf_and_dist/html/math_toolkit/special/next_float/nextafter.html

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019