D8233: Port finite() -> std::isfinite()

Anthony Fieroni noreply at phabricator.kde.org
Tue Oct 10 11:00:18 UTC 2017


anthonyfieroni added inline comments.

INLINE COMMENTS

> view.cpp:271
>  	
> -	if ( m_xmax <= m_xmin || !finite(m_xmin) || !finite(m_xmax) )
> +	if ( m_xmax <= m_xmin || !std::isfinite(m_xmin) || !std::isfinite(m_xmax) )
>  	{

As a suggest, first check for finite then make comparison.

REPOSITORY
  R334 KmPlot

REVISION DETAIL
  https://phabricator.kde.org/D8233

To: kfunk, sandroandrade
Cc: anthonyfieroni, #kde_edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20171010/bea674b4/attachment.html>


More information about the kde-edu mailing list