mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
added boost_math_std_using to trunc overload [windows]
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -13,7 +13,9 @@ build/*
|
||||
#*.svg
|
||||
tools/bin/**
|
||||
.idea/*
|
||||
|
||||
# autogenerated for table in reverse mode docs
|
||||
doc/differentiation/compilation_table.txt
|
||||
test/test_reverse_mode_autodiff_special_functions_compile/generated_jam_compile_commands.txt
|
||||
# CMake Related Options
|
||||
*.a
|
||||
*.o
|
||||
|
||||
@@ -810,6 +810,7 @@ struct fmod_left_float_expr
|
||||
}
|
||||
static const inner_t derivative(const inner_t &argv, const inner_t & /*v*/, const RealType &constant)
|
||||
{
|
||||
BOOST_MATH_STD_USING
|
||||
return static_cast<RealType>(-1.0) * trunc(constant / argv);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user