Skip to content

Instantly share code, notes, and snippets.

@heltonmarx
heltonmarx / converter.c
Created October 28, 2015 20:52
latitude longitude converter
#include <stdio.h>
#include <stdlib.h>
float calculate(unsigned long x)
{
float f;
float delta = 0.000277778;
unsigned long limit = 0x7FFFFFFF;
if (x < limit) {