Displaying 2 results from an estimated 2 matches for "fp_infinite".
2018 May 01
3
Compiling CUDA with clang on Windows
Dear all,
In the official document <https://llvm.org/docs/CompileCudaWithLLVM.html>,
it is mentioned that CUDA compilation is supported on Windows as of
2017-01-05. I used msys2 to install clang 5.0.1. Then I installed cuda 8.0.
However, I basically could not compile any code of cuda by the prescribed
setting. I wounder if anyone can successfully compile cuda code by the
clang on Windows.
2008 Jan 10
0
8 commits - libswfdec/swfdec_as_date.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_bits.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_text_field_movie_html.c test/trace
...text *context, double d)
{
+ gboolean found = FALSE, gotdot = FALSE;
+ guint digits = 15;
+ char tmp[50], *end, *start, *s;
+
g_return_val_if_fail (SWFDEC_IS_AS_CONTEXT (context), SWFDEC_AS_STR_EMPTY);
- switch (fpclassify (d)) {
- case FP_ZERO:
- return SWFDEC_AS_STR_0;
- case FP_INFINITE:
- return d < 0 ? SWFDEC_AS_STR__Infinity : SWFDEC_AS_STR_Infinity;
- case FP_NAN:
- return SWFDEC_AS_STR_NaN;
- default:
- {
- gboolean found = FALSE, gotdot = FALSE;
- guint digits = 15;
- char tmp[50], *end, *start, *s;
- tmp[0] = ' ';
- s = &tmp[1];
- if (ABS...