The OP never did mention which board they are interested in using with 64 bit floating point.
And, the simple answer is indeed to just use double. But, to cover things more fully, if you define a floating point constant or literal then putting f on the end makes it a single precision (32bit) floating point number while no f means double (usually).
So, 1.0f is 32 bit and 1.0 is 64 bit.
Also, the Teensy4 can actually do double precision / 64 bit floating point in hardware and at a decent speed. On a Teensy4/4.1/MicroMod there really is usually no good reason not to use doubles for everything. The processor can handle it no problem. On other Arduino boards this ranges from a mildly bad idea to a very, very, very slow idea. Don't use 64 bit doubles on an ATMEGA board unless you've got all the time in the world.