[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: interval 0.1.2 released
From: |
Marius Schamschula |
Subject: |
Re: interval 0.1.2 released |
Date: |
Tue, 24 Feb 2015 13:15:07 -0600 |
Oliver,
While building interval 0.1.2 under OS X (MacPorts) I get the following error:
pfr_function_d.cc:116:5: warning: add explicit braces to avoid dangling else
[-Wdangling-else]
else if (!scalar3)
^
mpfr_function_d.cc:252:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (arg3.numel () != 1 &&
~~~~~~~~~~~~~~~~~~~^~
mpfr_function_d.cc:252:30: note: place parentheses around the '&&' expression
to silence this warning
if (arg3.numel () != 1 &&
^
mpfr_function_d.cc:324:33: error: conversion from 'octave_int<unsigned long
long>' to 'const unsigned long' is ambiguous
const unsigned long n = args (3).uint64_array_value ().elem (0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/octave-3.8.2/octave/oct-inttypes.h:878:3: note: candidate
function
operator T (void) const { return value (); }
^
/opt/local/include/octave-3.8.2/octave/oct-inttypes.h:882:3: note: candidate
function
operator double (void) const { return double_value (); }
^
/opt/local/include/octave-3.8.2/octave/oct-inttypes.h:884:3: note: candidate
function
operator float (void) const { return float_value (); }
^
2 warnings and 1 error generated.
make: *** [mpfr_function_d.oct] Error 1
On Feb 24, 2015, at 6:01 AM, Carnë Draug <address@hidden> wrote:
> Hi everyone
>
> a new release of the interval package [1] is out, version 0.1.2, by
> Oliver Heimlich.
> A summary of important user-visible changes is also available online [2].
>
> The interval package provides data types and fundamental operations
> for real valued interval arithmetic based on the common floating-point
> format "binary64" a.k.a. double-precision. It aims to be standard
> compliant with the (upcoming) IEEE 1788 and therefore implements the
> set-based interval arithmetic flavour.
>
> Enjoy Octave responsibly,
> Carnë
>
> [1] http://octave.sourceforge.net/interval/
> [2] http://octave.sourceforge.net/interval/NEWS.html
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-octave
Marius
--
Marius Schamschula