--- Quote Start ---
There is a similar floating point ppackage, but I wouldnt recommend using it for synthesis.
--- Quote End ---
I agree. I did a brief test some time ago and it's more a principle demonstration than useful synthesizable code.
Generally, float operation IP has a high resource demand. If a package would be able to infer fp_xxx Megafunctions from your VHDL code, you effectively can't write it down like integer arithmetic. Each instance of float IP has to be well considered. It's often meaningful to use it sequentially for different signals, but of course, this completely changes the structure of your code.
But your above question seems rather to indicate insufficient knowledge of general VHDL concepts, e.g. packages. There's no mistery about it. If you add the package code to your project, it can be compiled. If you add the respective library definitions to your code, you can use the new language elements implemented by the package. As explained, the result won't most likely satisfy you.