o
    );cR                     @   s,   d dl Z edZedZedZdd ZdS )    Ninfz-infNaNc                 C   s   t | } | tkr
dS | tkrdS t| rdS t| }|d}| dkrI|dkrI|d  d|d|  ||d d   d}| d	|d  S |S )
Nz+Infz-Infr   .r         z0.ze+0)floatINF	MINUS_INFmathisnanreprfindrstrip)dsdotZmantissa r   b/Users/cmarchbanks/go/src/github.com/prometheus/client_python/build/lib/prometheus_client/utils.pyfloatToGoString   s   

0r   )r
   r   r   r	   r   r   r   r   r   r   <module>   s
    