In an IEEE-754 sense, there is no well-defined meaning for the fractional part of a floating-point number outside the context of the overall number. The bits that distinguish the value 10.5 from the value 10.0 are a smaller subset of the overall representation than are the bits that distinguish the value 0.0 from the value 0.5. When one talks about the "fraction" part of an IEEE-754 numeric representation, one normally is talking about all bits of the mantissa; for IEEE 754 single-precision binary format that's 24 bits, including one implied bit, regardless of the magnitude of the number.
UPDATE / REVISION:
Based on updates clarifying the question, I have replaced the bulk of my previous answer, which addressed the problem of programmatically extracting the bits of a float or double, as opposed to converting a decimal-format text representation to the bits of an IEEE-754 format representation. Parsing text is a tricky problem, as I also said in the original version of this answer.
I do nevertheless reiterate that I think it a mistake to separate the mantissa into separate pieces. It offers no particular advantage that I can see, but it introduces the problem of properly recombining the pieces later.
Here's a workable approach to the overall problem:
Determine the sign of the input number based on the presence or absence of a negative sign.
Form a bignum representation of the absolute value of the input number. For example, a base-1,000,000,000 representation, stored in an array of uint32_t. As long as the base is a power of 10, it is straightforward to parse your decimal-format input number into such a representation, and no rounding error is introduced by doing so.
Scale the bignum representation by the appropriate power of two to obtain a scaled value between 223 and 224 - 1. This can be done with only integer arithmetic. Do note that it may be possible that you'll have to scale down instead of up. Either way, this scaling can be performed via integer arithmetic alone. Remember which power of two (s) was used as the scale factor (i.e. the base-2 logarithm of the scale factor, not so much the scale factor itself; this can come easily out of the algorithm with no computation of transcendental functions required).
Round to unit precision.
You then have the sign bit from step 1, the bits of the mantissa / significand as the remaining significant bits of the bignum (remember that the most-significant one is implicit, not explicit, in the final IEEE format), and the exponent as 23 - s.
Note, too, that that approach can be extended very naturally to scientific notation.