There are two issues here:
a) Your code won't work properly on any compiler, since a constant like 1700...0.0; is interpreted as a double by default, just like 1700000000000000000000 is interpreted as an integer. You need to use 1700....0.0L; instead to show a long double, just like you use LL to show a long long.
b) Once you've done that, it will work on most compilers (eg ideone.com) but not on Dev-C++. There is a bug in Dev-C++ with long doubles where some parts think it is the same size as a double and some parts think it is longer.
Note that as Leppy says, there really isn't much point in using such numbers anyway. For example, if you do fix the problem in a) then run the code on something other than Dev-C++, it will print out something like this, since doubles and long doubles aren't very accurate:
17000000000000000000285816941724261703190.. (and a whole lot more junk)