Are there floating point type definitions in the standard which use the same format as integers?
For instance, we can specify unsigned and signed integers like uint8_t and int8_t which has the advantage of clearly telling the developer how big the integer will be (8 bits in this case).
Is there a way to do the same thing with floating point numbers?
For example, is there something like float32_t and float64_t which we can use instead of float and double?
I am aware that I could declare these myself, (e.g. using float32_t = float). However, I would prefer if there was something in the standard.
Aucun commentaire:
Enregistrer un commentaire