ECC-1467: Make grib_power() a template function

This commit is contained in:
Eugen Betke 2023-06-13 14:09:52 +00:00
parent a12e9114a8
commit e8e4beb5c7
30 changed files with 33 additions and 32 deletions

View File

@ -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)

View File

@ -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

View File

@ -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"
/*

View File

@ -12,7 +12,7 @@
* Enrico Fucile
****************************************/
#include "grib_api_internal_cpp.h"
#include "grib_scaling.h"
#include "grib_api_internal.h"
#if GRIB_PTHREADS

View File

@ -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"
/*

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"
/*

View File

@ -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"

View File

@ -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>

View File

@ -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"
/*

View File

@ -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"
/*

View File

@ -9,7 +9,7 @@
*/
#include "grib_api_internal_cpp.h"
#include "grib_scaling.h"
#include "grib_api_internal.h"
#include <type_traits>

View File

@ -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>

View File

@ -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"
/*

View File

@ -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"
/*

View File

@ -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

View File

@ -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

View File

@ -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"
/*

View File

@ -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>
/*

View File

@ -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>
/*

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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>

View File

@ -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)