Skip to content

Commit

Permalink
modified cutest.h to support _Quad rather than __float128 on Intel fo…
Browse files Browse the repository at this point in the history
…r Windows
  • Loading branch information
dalekopera committed Jun 1, 2024
1 parent 5a133d8 commit 415d14a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/cutest.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,13 @@ typedef bool logical;
typedef float rp_;
typedef float rpc_;
#elif QUAD
#if defined(__INTEL_COMPILER) && defined(_WIN32)
typedef _Quad rp_;
typedef _Quad rpc_;
#else
typedef __float128 rp_;
typedef __float128 rpc_;
#endif
#else
typedef double rp_;
typedef double rpc_;
Expand Down
3 changes: 3 additions & 0 deletions src/makemaster
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ all_double: tools_double
all_quadruple: tools_quadruple
( cd test ; $(MAKE) -f $(CUTEST)/makefiles/$(VERSION) \
test $(Q32) PWD=$(PWD)/test )
all_single_64: tools_single_64
all_double_64: tools_double_64
all_quadruple_64: tools_quadruple_64

# all tools (including fortran 2008) and interfaces

Expand Down

0 comments on commit 415d14a

Please sign in to comment.