mirror of https://github.com/ecmwf/eccodes.git
ECC-1467: Make grib_power() a template function
This commit is contained in:
parent
a12e9114a8
commit
e8e4beb5c7
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
long grib_op_eq(long a, long b)
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
/*
|
||||
This is used by make_class.pl
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
|
||||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* Enrico Fucile
|
||||
****************************************/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
#if GRIB_PTHREADS
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_value.h"
|
||||
|
||||
/*
|
||||
This is used by make_class.pl
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_bits_any_endian_simple.h"
|
||||
#include "grib_scaling.h"
|
||||
|
||||
/*
|
||||
This is used by make_class.pl
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_cpp.h"
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_ieeefloat.h"
|
||||
#include "grib_scaling.h"
|
||||
#include <math.h>
|
||||
/*
|
||||
This is used by make_class.pl
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
#include "grib_optimize_decimal_factor.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
#include <type_traits>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
#include <type_traits>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* philippe.marguinaud@meteo.fr
|
||||
*******************************/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
#include "grib_optimize_decimal_factor.h"
|
||||
#include <math.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
#define PNG_ANYBITS
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* Enrico Fucile
|
||||
****************************/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_ieeefloat.h"
|
||||
|
||||
#define PRE_PROCESSING_NONE 0
|
||||
#define PRE_PROCESSING_DIFFERENCE 1
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
#include <math.h>
|
||||
/*
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
#include <math.h>
|
||||
/*
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_bits_any_endian_simple.h"
|
||||
#include "grib_optimize_decimal_factor.h"
|
||||
#include <float.h>
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
can appear
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
/*
|
||||
This is used by make_class.pl
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
* Shahram Najm *
|
||||
***************************************************************************/
|
||||
#include "grib_api_internal.h"
|
||||
#include "grib_value.h"
|
||||
#include <limits>
|
||||
#include <cassert>
|
||||
#include "grib_api_internal_cpp.h"
|
||||
|
||||
/*
|
||||
This is used by make_class.pl
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* Enrico Fucile
|
||||
**********************************/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
/*
|
||||
This is used by make_class.pl
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
**************************************/
|
||||
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
/*
|
||||
This is used by make_class.pl
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
bufr_descriptor* grib_bufr_descriptor_new(grib_accessor* tables_accessor, int code, int silent, int* err)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
#include "grib_optimize_decimal_factor.h"
|
||||
#include <math.h>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* Enrico Fucile
|
||||
**************************************/
|
||||
|
||||
#include "grib_api_internal_cpp.h"
|
||||
#include "grib_scaling.h"
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
long grib_get_binary_scale_fact(double max, double min, long bpval, int* ret)
|
||||
|
|
Loading…
Reference in New Issue