view modules/xstrtod @ 40215:88b18d82fa61

crypto/des: Fix undefined behaviour. * lib/des.c (READ_64BIT_DATA): Cast bytes to 'unsigned int', to avoid shift operations on 'int'.
author Bruno Haible <bruno@clisp.org>
date Sat, 09 Mar 2019 22:21:25 +0100
parents 8e9bc5abe470
children
line wrap: on
line source

Description:
Convert string to 'double', with error checking.

Files:
lib/xstrtod.h
lib/xstrtod.c
m4/xstrtod.m4

Depends-on:
stdbool

configure.ac:
gl_XSTRTOD

Makefile.am:
lib_SOURCES += xstrtod.c

Include:
"xstrtod.h"

License:
GPL

Maintainer:
Jim Meyering